summaryrefslogtreecommitdiff
path: root/lisp
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
commitd1e2f4e47b96f7bd9ab19e5ac6dfe415c1edbed4 (patch)
tree4e9dca3298c27bf67672bef91b398e83b2294a7a /lisp
parentb492a94e584897d72de7c6e35b6e086c1e9db093 (diff)
downloademacs-d1e2f4e47b96f7bd9ab19e5ac6dfe415c1edbed4.tar.gz
(texinfo-copy-menu): Use double backslash to quote regexp.
Diffstat (limited to 'lisp')
-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))