Commit 5313d5f1 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(mail-position-on-field): Use $, not \n, in regexp.

parent dc84b03d
......@@ -753,7 +753,7 @@ the user from the mailer."
(let (end
(case-fold-search t))
(goto-char (point-min))
(re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n"))
(re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
(setq end (match-beginning 0))
(goto-char (point-min))
(if (re-search-forward (concat "^" (regexp-quote field) ":") end t)
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