summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-10 07:02:35 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-10 07:02:35 +0000
commit99c3d92677accaf23d67dabafbdabf726aaf1815 (patch)
tree25e10c64450bdd6f7705fb2467168bd674d41c30
parent24675e99f4a1085240937203b25f136df3c5e50f (diff)
downloademacs-99c3d92677accaf23d67dabafbdabf726aaf1815.tar.gz
(rmail-forward): Anchor `mail-header-separator' on both
sides to match whole line, not just initial substring.
-rw-r--r--lisp/mail/rmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 79649a935b6..cb2c36adc03 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -2009,7 +2009,7 @@ see the documentation of `rmail-resend'."
;; Insert after header separator--before signature if any.
(goto-char (point-min))
(search-forward-regexp
- (concat "^" (regexp-quote mail-header-separator)))
+ (concat "^" (regexp-quote mail-header-separator) "$"))
(forward-line 1)
(insert-buffer forward-buffer))))))