Mercurial > emacs
changeset 21180:921bd225796e
(texinfo-incorporate-menu-entry-names)
(texinfo-start-menu-description): Call regexp-quote.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 14 Mar 1998 09:08:26 +0000 |
parents | 482ff111ccbc |
children | 2b9774c50f91 |
files | lisp/textmodes/texnfo-upd.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/texnfo-upd.el Sat Mar 14 08:27:01 1998 +0000 +++ b/lisp/textmodes/texnfo-upd.el Sat Mar 14 09:08:26 1998 +0000 @@ -498,7 +498,8 @@ ;; ;; We're interested in the second case. (concat "\\* " ; so only menu entries are found - "\\(.*\\): " (car (car new-menu-list)) "[.,\t\n]") + "\\(.*\\): " (regexp-quote (car (car new-menu-list))) + "[.,\t\n]") end-of-menu t) (setcar @@ -650,7 +651,7 @@ (if (re-search-forward (concat "^@node[ \t]+" - node-name + (regexp-quote node-name) ".*\n" ; match node line "\\(" "\\(\\(^@c \\|^@comment\\).*\n\\)" ; match comment line, if any