From cf90703fc4d2d9e290bc97828a6d3f1ab7e25b93 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sun, 6 Jul 2003 11:47:04 +0000 Subject: [PATCH] (Info-menu-entry-name-re): Add `:' to second [] part. This should fix the infinite loop when extracting menu names. --- lisp/info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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." (setq i (+ i 1))) (Info-goto-node target))) -(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^,.;() \t\n]\\)*" +(defconst Info-menu-entry-name-re "\\(?:[^:\n]+\\|:[^:,.;() \t\n]\\)*" "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'.") -- 2.39.2