1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

(Info-menu-entry-name-re): Allow newlines in menu entry names.

This commit is contained in:
Stefan Monnier 2003-07-16 15:54:25 +00:00
parent db14504a96
commit e057da5239

View File

@ -1557,7 +1557,9 @@ 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 "\\(?:[^:]\\|:[^:,.;() \t\n]\\)*"
;; We allow newline because this is also used in Info-follow-reference,
;; where the xref name might be wrapped over two lines.
"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'.")