From: Stefan Monnier Date: Wed, 16 Jul 2003 15:54:25 +0000 (+0000) Subject: (Info-menu-entry-name-re): Allow newlines in menu entry names. X-Git-Tag: ttn-vms-21-2-B4~9318 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e057da523962af1a10ec608e7ef1baef903b7c83;p=emacs.git (Info-menu-entry-name-re): Allow newlines in menu entry names. --- diff --git a/lisp/info.el b/lisp/info.el index 76f28e9af88..3082aa7231c 100644 --- a/lisp/info.el +++ b/lisp/info.el @@ -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'.")