From: Stefan Monnier Date: Sun, 6 Jul 2003 16:35:23 +0000 (+0000) Subject: (Info-menu-entry-name-re): Be careful to avoid multiple ways X-Git-Tag: ttn-vms-21-2-B4~9482 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=276091310316efef57dcf66250a18c7e63be57c0;p=emacs.git (Info-menu-entry-name-re): Be careful to avoid multiple ways to match the same text. Allow : after : again. --- diff --git a/lisp/info.el b/lisp/info.el index e12cc18e134..5277d5ba327 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -1540,7 +1540,7 @@ FOOTNOTENAME may be an abbreviation of the reference name." (setq i (+ i 1))) (Info-goto-node target))) -(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^:,.;() \t\n]\\)*" +(defconst Info-menu-entry-name-re "\\(?:[^:\n]\\|:[^,.;() \t\n]\\)*" "Regexp that matches a menu entry name upto but not including the colon. Because of ambiguities, this should be concatenated with something like `:' and `Info-following-node-name-re'.")