From 77a0aa457d66d6dd06435bdd2dd9d53e704e1373 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 13 Oct 2010 18:06:47 +0200 Subject: [PATCH] updated for version 7.3.026 Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck) Solution: Don't escape special characters. (Carlo Teubner) --- src/normal.c | 9 +++++++-- 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 @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 26, /**/ 25, /**/ -- 2.40.0