# HG changeset patch # User Karl Heuer # Date 889866506 0 # Node ID 921bd225796e366522d13fbea38fc90e50f8f942 # Parent 482ff111ccbc639b90f889411bbeec5b81e2e945 (texinfo-incorporate-menu-entry-names) (texinfo-start-menu-description): Call regexp-quote. diff -r 482ff111ccbc -r 921bd225796e lisp/textmodes/texnfo-upd.el --- a/lisp/textmodes/texnfo-upd.el Sat Mar 14 08:27:01 1998 +0000 +++ b/lisp/textmodes/texnfo-upd.el Sat Mar 14 09:08:26 1998 +0000 @@ -498,7 +498,8 @@ ;; ;; We're interested in the second case. (concat "\\* " ; so only menu entries are found - "\\(.*\\): " (car (car new-menu-list)) "[.,\t\n]") + "\\(.*\\): " (regexp-quote (car (car new-menu-list))) + "[.,\t\n]") end-of-menu t) (setcar @@ -650,7 +651,7 @@ (if (re-search-forward (concat "^@node[ \t]+" - node-name + (regexp-quote node-name) ".*\n" ; match node line "\\(" "\\(\\(^@c \\|^@comment\\).*\n\\)" ; match comment line, if any