Commit 99c3d926 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(rmail-forward): Anchor `mail-header-separator' on both

sides to match whole line, not just initial substring.
parent 24675e99
......@@ -2009,7 +2009,7 @@ see the documentation of `rmail-resend'."
;; Insert after header separator--before signature if any.
(goto-char (point-min))
(concat "^" (regexp-quote mail-header-separator)))
(concat "^" (regexp-quote mail-header-separator) "$"))
(forward-line 1)
(insert-buffer forward-buffer))))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment