aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/sendmail.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 15280f84aa9..2ea6d676d53 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -753,7 +753,7 @@ the user from the mailer."
753 (let (end 753 (let (end
754 (case-fold-search t)) 754 (case-fold-search t))
755 (goto-char (point-min)) 755 (goto-char (point-min))
756 (re-search-forward (concat "^" (regexp-quote mail-header-separator) "\n")) 756 (re-search-forward (concat "^" (regexp-quote mail-header-separator) "$"))
757 (setq end (match-beginning 0)) 757 (setq end (match-beginning 0))
758 (goto-char (point-min)) 758 (goto-char (point-min))
759 (if (re-search-forward (concat "^" (regexp-quote field) ":") end t) 759 (if (re-search-forward (concat "^" (regexp-quote field) ":") end t)