]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-copy-menu): Use double backslash to quote regexp.
authorKarl Heuer <kwzh@gnu.org>
Sun, 9 Jun 1996 13:42:55 +0000 (13:42 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sun, 9 Jun 1996 13:42:55 +0000 (13:42 +0000)
lisp/textmodes/texnfo-upd.el

index 6a328f1672389318ce9c29c24ace4dc63b4792f5..e44ef6ba8db87073d47c2744694ec21fd295ff76 100644 (file)
@@ -964,11 +964,11 @@ and leave point on the line before the `@end menu' line."
                                           ; 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 @@ and leave point on the line before the `@end menu' line."
                     (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))