diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:15:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-12 22:15:19 +0100 |
commit | 4f5776c17cd86f904a7e2f92db297c73e28939b7 (patch) | |
tree | 6085e8230e216a7d78b99b39d14bd667a45474cf /runtime | |
parent | 3fb377fa78131004138b22a87afe33eeb7649b94 (diff) |
patch 8.2.0250: test_clear_search_pat() is unusedv8.2.0250
Problem: test_clear_search_pat() is unused.
Solution: Remove the function. (Yegappan Lakshmanan, closes #5624)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 1 | ||||
-rw-r--r-- | runtime/doc/testing.txt | 5 | ||||
-rw-r--r-- | runtime/doc/usr_41.txt | 1 |
3 files changed, 0 insertions, 7 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index afbfd9f7e5..d7c0dc3a8b 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -2848,7 +2848,6 @@ term_wait({buf} [, {time}]) Number wait for screen to be updated test_alloc_fail({id}, {countdown}, {repeat}) none make memory allocation fail test_autochdir() none enable 'autochdir' during startup -test_clear_search_pat() none clears the last used search pattern test_feedinput({string}) none add key sequence to input buffer test_garbagecollect_now() none free memory right now for testing test_garbagecollect_soon() none free memory soon for testing diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index f2a7cf16c5..f343e86a6d 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -52,11 +52,6 @@ test_autochdir() *test_autochdir()* startup has finished. -test_clear_search_pat() *test_clear_search_pat()* - Clears the last used search pattern (|/|) and the substitute - pattern (|:s|). This is useful for testing conditions where - these patterns are not set previously. - test_feedinput({string}) *test_feedinput()* Characters in {string} are queued for processing as if they were typed by the user. This uses a low level input buffer. diff --git a/runtime/doc/usr_41.txt b/runtime/doc/usr_41.txt index 316eebcaea..1bed01f418 100644 --- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -963,7 +963,6 @@ Testing: *test-functions* assert_report() report a test failure test_alloc_fail() make memory allocation fail test_autochdir() enable 'autochdir' during startup - test_clear_search_pat() clears the last used search pattern test_override() test with Vim internal overrides test_garbagecollect_now() free memory right now test_getvalue() get value of an internal variable |