Commit 27609131 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(Info-menu-entry-name-re): Be careful to avoid multiple ways

to match the same text.  Allow : after : again.
parent ebb8d410
......@@ -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'.")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment