Mercurial > emacs
changeset 51943:4ab63324776e
(Info-menu-entry-name-re): Allow newlines in menu entry names.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 16 Jul 2003 15:54:25 +0000 |
parents | 5fdfe35f3ac4 |
children | 4bfad02b45db |
files | lisp/info.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Wed Jul 16 15:40:25 2003 +0000 +++ b/lisp/info.el Wed Jul 16 15:54:25 2003 +0000 @@ -1557,7 +1557,9 @@ (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'.")