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'." ...@@ -2009,7 +2009,7 @@ see the documentation of `rmail-resend'."
;; Insert after header separator--before signature if any. ;; Insert after header separator--before signature if any.
(goto-char (point-min)) (goto-char (point-min))
(search-forward-regexp (search-forward-regexp
(concat "^" (regexp-quote mail-header-separator))) (concat "^" (regexp-quote mail-header-separator) "$"))
(forward-line 1) (forward-line 1)
(insert-buffer forward-buffer)))))) (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