aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-01-13 01:10:49 +0000
committerRichard M. Stallman1997-01-13 01:10:49 +0000
commit86b54f498ed8d4035464ebb6feee76b78c776504 (patch)
tree75bff1090ab69da90a96347f2416fbb9c4706eb3
parentacbbacbe534d4b537ab6ecc242e4f0edd681fe7f (diff)
downloademacs-86b54f498ed8d4035464ebb6feee76b78c776504.tar.gz
emacs-86b54f498ed8d4035464ebb6feee76b78c776504.zip
(texinfo-incorporate-descriptions): Call regexp-quote.
-rw-r--r--lisp/textmodes/texnfo-upd.el4
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."
451 ;; 451 ;;
452 ;; Recognize both when looking for the description. 452 ;; Recognize both when looking for the description.
453 (concat "\\* \\(" ; so only menu entries are found 453 (concat "\\* \\(" ; so only menu entries are found
454 (car (car new-menu-list)) "::" 454 (regexp-quote (car (car new-menu-list))) "::"
455 "\\|" 455 "\\|"
456 ".*: " (car (car new-menu-list)) "[.,\t\n]" 456 ".*: " (regexp-quote (car (car new-menu-list))) "[.,\t\n]"
457 "\\)" 457 "\\)"
458 ) ; so only complete entries are found 458 ) ; so only complete entries are found
459 end-of-menu 459 end-of-menu