To: vim_dev@googlegroups.com Subject: Patch 7.4.1568 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1568 Problem: Using CTRL-] in help on option in parentheses doesn't work. Solution: Skip the "(" in "('". (Hirohito Higashi) Files: src/ex_cmds.c *** ../vim-7.4.1567/src/ex_cmds.c 2016-03-14 23:45:30.893239195 +0100 --- src/ex_cmds.c 2016-03-15 13:40:24.417138528 +0100 *************** *** 6114,6119 **** --- 6114,6124 ---- || (arg[0] == '\\' && arg[1] == '{')) *d++ = '\\'; + /* + * If tag starts with "('", skip the "(". Fixes CTRL-] on ('option'. + */ + if (*arg == '(' && arg[1] == '\'') + arg++; for (s = arg; *s; ++s) { /* *** ../vim-7.4.1567/src/version.c 2016-03-15 13:33:50.709244886 +0100 --- src/version.c 2016-03-15 13:41:19.068568540 +0100 *************** *** 745,746 **** --- 745,748 ---- { /* Add new patch number below this line */ + /**/ + 1568, /**/ -- Light travels faster than sound. This is why some people appear bright until you hear them speak /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///