diff options
| author | Stefan Monnier | 2003-07-16 15:54:25 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-07-16 15:54:25 +0000 |
| commit | e057da523962af1a10ec608e7ef1baef903b7c83 (patch) | |
| tree | 20442f9fe8461e4540cccdeb2a5a20b59b13c34b | |
| parent | db14504a96c36a10605c0595913f196ebfe24115 (diff) | |
| download | emacs-e057da523962af1a10ec608e7ef1baef903b7c83.tar.gz emacs-e057da523962af1a10ec608e7ef1baef903b7c83.zip | |
(Info-menu-entry-name-re): Allow newlines in menu entry names.
| -rw-r--r-- | lisp/info.el | 4 |
1 files changed, 3 insertions, 1 deletions
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." | |||
| 1557 | (setq i (+ i 1))) | 1557 | (setq i (+ i 1))) |
| 1558 | (Info-goto-node target))) | 1558 | (Info-goto-node target))) |
| 1559 | 1559 | ||
| 1560 | (defconst Info-menu-entry-name-re "\\(?:[^:\n]\\|:[^:,.;() \t\n]\\)*" | 1560 | (defconst Info-menu-entry-name-re "\\(?:[^:]\\|:[^:,.;() \t\n]\\)*" |
| 1561 | ;; We allow newline because this is also used in Info-follow-reference, | ||
| 1562 | ;; where the xref name might be wrapped over two lines. | ||
| 1561 | "Regexp that matches a menu entry name upto but not including the colon. | 1563 | "Regexp that matches a menu entry name upto but not including the colon. |
| 1562 | Because of ambiguities, this should be concatenated with something like | 1564 | Because of ambiguities, this should be concatenated with something like |
| 1563 | `:' and `Info-following-node-name-re'.") | 1565 | `:' and `Info-following-node-name-re'.") |