1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(texinfo-incorporate-descriptions): Call regexp-quote.

This commit is contained in:
Richard M. Stallman 1997-01-13 01:10:49 +00:00
parent acbbacbe53
commit 86b54f498e

View 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