]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-menu-entry-name-re): Be careful to avoid multiple ways
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 6 Jul 2003 16:35:23 +0000 (16:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 6 Jul 2003 16:35:23 +0000 (16:35 +0000)
to match the same text.  Allow : after : again.

lisp/info.el

index e12cc18e1340a80041da9c49df0d1985dceaeb33..5277d5ba327f356671bd90ab9aaf8daf1a52dcf9 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'.")