]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-incorporate-menu-entry-names)
authorKarl Heuer <kwzh@gnu.org>
Sat, 14 Mar 1998 09:08:26 +0000 (09:08 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 14 Mar 1998 09:08:26 +0000 (09:08 +0000)
(texinfo-start-menu-description): Call regexp-quote.

lisp/textmodes/texnfo-upd.el

index 22d9fc605389c70b0f068d44ecda750342fa7023..1f8b05908074e714e5e558b128fee8c00e5d05fa 100644 (file)
@@ -498,7 +498,8 @@ appears in the texinfo file."
              ;;
              ;; 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 @@ complements the node name rather than repeats it as a title does."
       (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