From: Kim F. Storm Date: Sun, 6 Jul 2003 11:47:04 +0000 (+0000) Subject: (Info-menu-entry-name-re): Add `:' to second [] part. X-Git-Tag: ttn-vms-21-2-B4~9485 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf90703fc4d2d9e290bc97828a6d3f1ab7e25b93;p=emacs.git (Info-menu-entry-name-re): Add `:' to second [] part. This should fix the infinite loop when extracting menu names. --- diff --git a/lisp/info.el b/lisp/info.el index 8dee0dc6936..e12cc18e134 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'.")