summaryrefslogtreecommitdiff
path: root/runtime/doc/eval.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-01-14 12:33:36 +0100
committerBram Moolenaar <Bram@vim.org>2014-01-14 12:33:36 +0100
commit32b9201f3726b26d1b5a558f95919cf0575a4b78 (patch)
tree81839de26ce0fcb0cc99c756b5df781c140757bf /runtime/doc/eval.txt
parent9d1685d1cf21cf5c17a52ae8ea143161a0d00d37 (diff)
downloadvim-32b9201f3726b26d1b5a558f95919cf0575a4b78.zip
updated for version 7.4.145
Problem: getregtype() does not return zero for unknown register. Solution: Adjust documention: return empty string for unknown register. Check the register name to be valid. (Yukihiro Nakadaira)
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r--runtime/doc/eval.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index be0e667b7..f8f3b99bc 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -3460,7 +3460,7 @@ getregtype([{regname}]) *getregtype()*
"v" for |characterwise| text
"V" for |linewise| text
"<CTRL-V>{width}" for |blockwise-visual| text
- 0 for an empty or unknown register
+ "" for an empty or unknown register
<CTRL-V> is one character with value 0x16.
If {regname} is not specified, |v:register| is used.