0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.4b.017

Problem:    ":he \^x" gives a strange error message. (glts)
Solution:   Do not translate \^x to \_CTRL-x.
This commit is contained in:
Bram Moolenaar 2013-08-07 15:24:41 +02:00
parent 026a445c40
commit d82db6046c
2 changed files with 4 additions and 2 deletions

View File

@ -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 < ' ')

View File

@ -727,6 +727,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
17,
/**/
16,
/**/