summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-04-02 12:12:08 +0200
committerBram Moolenaar <Bram@vim.org>2014-04-02 12:12:08 +0200
commit6716d9af113a5c4bcc7fdf8fd24f3d633db386c7 (patch)
treeb26dde7a4167dff776c33a9b2251f081a6679c0d /runtime
parent7f3be402cecb458ac2a8d385bb7303d8b27f9af4 (diff)
updated for version 7.4.237v7.4.237
Problem: When some patches was not included has("patch-7.4.123") may return true falsely. Solution: Check for the specific patch number.
Diffstat (limited to 'runtime')
-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 66b3038e26..007c7f7469 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -1682,7 +1682,7 @@ v:version Version number of Vim: Major version number times 100 plus
is 501. Read-only. "version" also works, for backwards
compatibility.
Use |has()| to check if a certain patch was included, e.g.: >
- if has("patch123")
+ if has("patch-7.4.123")
< Note that patch numbers are specific to the version, thus both
version 5.0 and 5.1 may have a patch 123, but these are
completely different.