aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-08-10 07:02:35 +0000
committerRichard M. Stallman1994-08-10 07:02:35 +0000
commit99c3d92677accaf23d67dabafbdabf726aaf1815 (patch)
tree25e10c64450bdd6f7705fb2467168bd674d41c30
parent24675e99f4a1085240937203b25f136df3c5e50f (diff)
downloademacs-99c3d92677accaf23d67dabafbdabf726aaf1815.tar.gz
emacs-99c3d92677accaf23d67dabafbdabf726aaf1815.zip
(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'."
2009 ;; Insert after header separator--before signature if any. 2009 ;; Insert after header separator--before signature if any.
2010 (goto-char (point-min)) 2010 (goto-char (point-min))
2011 (search-forward-regexp 2011 (search-forward-regexp
2012 (concat "^" (regexp-quote mail-header-separator))) 2012 (concat "^" (regexp-quote mail-header-separator) "$"))
2013 (forward-line 1) 2013 (forward-line 1)
2014 (insert-buffer forward-buffer)))))) 2014 (insert-buffer forward-buffer))))))
2015 2015