Skip to content

Commit bb41647

Browse files
committed
updated for version 7.4b.017
Problem: ":he \^x" gives a strange error message. (glts) Solution: Do not translate \^x to \_CTRL-x.
1 parent 3bc0049 commit bb41647

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/ex_cmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6019,8 +6019,8 @@ find_help_tags(arg, num_matches, matches, keep_lang)
60196019
if (*s < ' ' || (*s == '^' && s[1] && (ASCII_ISALPHA(s[1])
60206020
|| vim_strchr((char_u *)"?@[\\]^", s[1]) != NULL)))
60216021
{
6022-
if (d > IObuff && d[-1] != '_')
6023-
*d++ = '_'; /* prepend a '_' */
6022+
if (d > IObuff && d[-1] != '_' && d[-1] != '\\')
6023+
*d++ = '_'; /* prepend a '_' to make x_CTRL-x */
60246024
STRCPY(d, "CTRL-");
60256025
d += 5;
60266026
if (*s < ' ')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ static char *(features[]) =
727727

728728
static int included_patches[] =
729729
{ /* Add new patch number below this line */
730+
/**/
731+
17,
730732
/**/
731733
16,
732734
/**/

0 commit comments

Comments
 (0)