changeset 15363:d401fcd58f8c

(texinfo-copy-menu): Use double backslash to quote regexp.
author Karl Heuer <kwzh@gnu.org>
date Sun, 09 Jun 1996 13:42:55 +0000
parents 66fb24beae54
children a4e1db62f693
files lisp/textmodes/texnfo-upd.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/texnfo-upd.el	Sun Jun 09 13:40:05 1996 +0000
+++ b/lisp/textmodes/texnfo-upd.el	Sun Jun 09 13:42:55 1996 +0000
@@ -964,11 +964,11 @@
                                           ; last `* ' entry
                       (goto-char end-of-menu)
                       ;; handle multi-line description
-                      (if (not (re-search-backward "^\* " nil t))
+                      (if (not (re-search-backward "^\\* " nil t))
                           (error "No entries in menu."))
                       (point))))
     (while (< (point) last-entry)
-      (if (re-search-forward  "^\* " end-of-menu t)
+      (if (re-search-forward  "^\\* " end-of-menu t)
           (progn
             (setq this-menu-list
                   (cons
@@ -976,7 +976,7 @@
                     (point)
                     ;; copy multi-line descriptions
                     (save-excursion
-                      (re-search-forward "\\(^\* \\|^@e\\)" nil t)
+                      (re-search-forward "\\(^\\* \\|^@e\\)" nil t)
                       (- (point) 3)))
                    this-menu-list)))))
     this-menu-list))