]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-menu-entry-name-re): Add `:' to second [] part.
authorKim F. Storm <storm@cua.dk>
Sun, 6 Jul 2003 11:47:04 +0000 (11:47 +0000)
committerKim F. Storm <storm@cua.dk>
Sun, 6 Jul 2003 11:47:04 +0000 (11:47 +0000)
This should fix the infinite loop when extracting menu names.

lisp/info.el

index 8dee0dc69368b32f0b3a90d61cb0edf1a1443e7c..e12cc18e1340a80041da9c49df0d1985dceaeb33 100644 (file)
@@ -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'.")