diff options
author | Dominique Pelle <dominique.pelle@gmail.com> | 2022-04-10 11:26:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-10 11:26:53 +0100 |
commit | 7765f5cf964c751cd780484220bb65773b1b0348 (patch) | |
tree | b734e3be68a3a3176b1eaf4de04f5389bbca54eb /runtime/doc | |
parent | 6013d0045dec7ca7c0068fbe186c42d754a7368b (diff) |
patch 8.2.4727: unused codev8.2.4727
Problem: Unused code.
Solution: Remove code and add #ifdefs. (Dominique Pellé, closes #10136)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/editing.txt | 2 | ||||
-rw-r--r-- | runtime/doc/eval.txt | 2 | ||||
-rw-r--r-- | runtime/doc/vim9.txt | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index 2bba058a78..74e1d9268c 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1224,7 +1224,7 @@ Examples: > If you want to always use ":confirm", set the 'confirm' option. - *:browse* *:bro* *E338* *E614* *E615* *E616* + *:browse* *:bro* *E338* :bro[wse] {command} Open a file selection dialog for an argument to {command}. At present this works for |:e|, |:w|, |:wall|, |:wq|, |:wqall|, |:x|, |:xall|, |:exit|, diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index fa3e8e944d..6e7090acdf 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -181,7 +181,7 @@ You will not get an error if you try to change the type of a variable. 1.2 Function references ~ - *Funcref* *E695* *E718* *E1086* *E1192* + *Funcref* *E695* *E718* *E1192* A Funcref variable is obtained with the |function()| function, the |funcref()| function or created with the lambda expression |expr-lambda|. It can be used in an expression in the place of a function name, before the parenthesis diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt index ce5e5078f2..5020bcf90b 100644 --- a/runtime/doc/vim9.txt +++ b/runtime/doc/vim9.txt @@ -378,7 +378,7 @@ And with autocommands: > Although using a :def function probably works better. *E1022* *E1103* *E1130* *E1131* *E1133* - *E1134* *E1235* + *E1134* Declaring a variable with a type but without an initializer will initialize to false (for bool), empty (for string, list, dict, etc.) or zero (for number, any, etc.). This matters especially when using the "any" type, the value will |