diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/textmodes/texnfo-upd.el | 4 |
1 files 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 |