# HG changeset patch # User Stefan Monnier # Date 1058370865 0 # Node ID 4ab63324776ebc7b221d35e5ba000b88eed4b996 # Parent 5fdfe35f3ac4cea44699e407205bb696dc25fe58 (Info-menu-entry-name-re): Allow newlines in menu entry names. diff -r 5fdfe35f3ac4 -r 4ab63324776e lisp/info.el --- 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'.")