diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-10-13 18:06:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-10-13 18:06:47 +0200 |
commit | 77a0aa457d66d6dd06435bdd2dd9d53e704e1373 (patch) | |
tree | 64315086aadec4c7eaed668edd48a1f910ce1b5c | |
parent | 78f74a91bfd29ecd3ff2bb16334535a232300a8c (diff) | |
download | vim-git-77a0aa457d66d6dd06435bdd2dd9d53e704e1373.tar.gz |
updated for version 7.3.026v7.3.026
Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck)
Solution: Don't escape special characters. (Carlo Teubner)
-rw-r--r-- | src/normal.c | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/normal.c b/src/normal.c index b76e40d1d..1754e8aa0 100644 --- a/src/normal.c +++ b/src/normal.c @@ -5666,8 +5666,13 @@ nv_ident(cap) else if (cmdchar == '#') aux_ptr = (char_u *)(p_magic ? "/?.*~[^$\\" : "/?^$\\"); else if (tag_cmd) - /* Don't escape spaces and Tabs in a tag with a backslash */ - aux_ptr = (char_u *)"\\|\"\n["; + { + if (curbuf->b_help) + /* ":help" handles unescaped argument */ + aux_ptr = (char_u *)""; + else + aux_ptr = (char_u *)"\\|\"\n["; + } else aux_ptr = (char_u *)"\\|\"\n*?["; diff --git a/src/version.c b/src/version.c index 9959c79d3..bedc601c8 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 26, +/**/ 25, /**/ 24, |