diff lisp/textmodes/texnfo-upd.el @ 16858:06857a0ecebb

(texinfo-incorporate-descriptions): Call regexp-quote.
author Richard M. Stallman <rms@gnu.org>
date Mon, 13 Jan 1997 01:10:49 +0000
parents d401fcd58f8c
children f76a73cf699e
line wrap: on
line diff
--- a/lisp/textmodes/texnfo-upd.el	Sat Jan 11 17:44:06 1997 +0000
+++ b/lisp/textmodes/texnfo-upd.el	Mon Jan 13 01:10:49 1997 +0000
@@ -451,9 +451,9 @@
              ;; 
              ;; 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