]> code.delx.au - gnu-emacs/commitdiff
(texinfo-incorporate-descriptions): Call regexp-quote.
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 Jan 1997 01:10:49 +0000 (01:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 Jan 1997 01:10:49 +0000 (01:10 +0000)
lisp/textmodes/texnfo-upd.el

index e44ef6ba8db87073d47c2744694ec21fd295ff76..f55374f5cb44f7ca1e58cc0520ac24a7bf7fca65 100644 (file)
@@ -451,9 +451,9 @@ The old menu is the menu as it appears in the texinfo file."
              ;; 
              ;; Recognize both when looking for the description.
              (concat "\\* \\("              ; so only menu entries are found
-                     (car (car new-menu-list)) "::"
+                     (regexp-quote (car (car new-menu-list))) "::"
                      "\\|"
-                     ".*: " (car (car new-menu-list)) "[.,\t\n]"
+                     ".*: " (regexp-quote (car (car new-menu-list))) "[.,\t\n]"
                      "\\)"
                      )               ; so only complete entries are found
              end-of-menu