summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-07 15:24:41 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-07 15:24:41 +0200
commitd82db6046ceab1294c54f93fbe0ea619d87d80be (patch)
tree3c047392171c2a004891a2187afbe93abd75df38
parent026a445c4034ce3f489d582c45e2cf49bd77322e (diff)
updated for version 7.4b.017v7.4b.017
Problem: ":he \^x" gives a strange error message. (glts) Solution: Do not translate \^x to \_CTRL-x.
-rw-r--r--src/ex_cmds.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 3098df9ed4..b79a259116 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6019,8 +6019,8 @@ find_help_tags(arg, num_matches, matches, keep_lang)
if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
|| vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
{
- if (d > IObuff && d[-1] != '_')
- *d++ = '_'; /* prepend a '_' */
+ if (d > IObuff && d[-1] != '_' && d[-1] != '\\')
+ *d++ = '_'; /* prepend a '_' to make x_CTRL-x */
STRCPY(d, "CTRL-");
d += 5;
if (*s < ' ')
diff --git a/src/version.c b/src/version.c
index c856835e70..67230f5dad 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 17,
+/**/
16,
/**/
15,