aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-07-06 11:47:04 +0000
committerKim F. Storm2003-07-06 11:47:04 +0000
commitcf90703fc4d2d9e290bc97828a6d3f1ab7e25b93 (patch)
tree6b08b31c81459db0c99ab89a8b34be699eaa333d
parent05900291129f12d7116d0c8391c4b0673c3e9108 (diff)
downloademacs-cf90703fc4d2d9e290bc97828a6d3f1ab7e25b93.tar.gz
emacs-cf90703fc4d2d9e290bc97828a6d3f1ab7e25b93.zip
(Info-menu-entry-name-re): Add `:' to second [] part.
This should fix the infinite loop when extracting menu names.
-rw-r--r--lisp/info.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 8dee0dc6936..e12cc18e134 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1540,7 +1540,7 @@ FOOTNOTENAME may be an abbreviation of the reference name."
1540 (setq i (+ i 1))) 1540 (setq i (+ i 1)))
1541 (Info-goto-node target))) 1541 (Info-goto-node target)))
1542 1542
1543(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^,.;() \t\n]\\)*" 1543(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^:,.;() \t\n]\\)*"
1544 "Regexp that matches a menu entry name upto but not including the colon. 1544 "Regexp that matches a menu entry name upto but not including the colon.
1545Because of ambiguities, this should be concatenated with something like 1545Because of ambiguities, this should be concatenated with something like
1546`:' and `Info-following-node-name-re'.") 1546`:' and `Info-following-node-name-re'.")