summaryrefslogtreecommitdiff
path: root/lisp/textmodes/texnfo-upd.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-06-09 13:42:55 +0000
committerKarl Heuer <kwzh@gnu.org>1996-06-09 13:42:55 +0000
commitc0fbcada19a44b9464ee1713027b4c1514374ebb (patch)
tree5ee5c43180626cb850333e43df4acb320532e589 /lisp/textmodes/texnfo-upd.el
parentd460a76357697b8b307a2d03881a63a717baded2 (diff)
downloademacs-c0fbcada19a44b9464ee1713027b4c1514374ebb.tar.gz
emacs-c0fbcada19a44b9464ee1713027b4c1514374ebb.tar.bz2
emacs-c0fbcada19a44b9464ee1713027b4c1514374ebb.zip
(texinfo-copy-menu): Use double backslash to quote regexp.
Diffstat (limited to 'lisp/textmodes/texnfo-upd.el')
-rw-r--r--lisp/textmodes/texnfo-upd.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index 6a328f16723..e44ef6ba8db 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -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))