From 86b54f498ed8d4035464ebb6feee76b78c776504 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Jan 1997 01:10:49 +0000 Subject: [PATCH] (texinfo-incorporate-descriptions): Call regexp-quote. --- lisp/textmodes/texnfo-upd.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5