From: Richard M. Stallman Date: Mon, 13 Jan 1997 01:10:49 +0000 (+0000) Subject: (texinfo-incorporate-descriptions): Call regexp-quote. X-Git-Tag: emacs-20.1~3086 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=86b54f498ed8d4035464ebb6feee76b78c776504;p=emacs.git (texinfo-incorporate-descriptions): Call regexp-quote. --- diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index e44ef6ba8db..f55374f5cb4 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el @@ -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