]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-position-on-field): Use $, not \n, in regexp.
authorRichard M. Stallman <rms@gnu.org>
Tue, 25 Apr 1995 03:35:00 +0000 (03:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 25 Apr 1995 03:35:00 +0000 (03:35 +0000)
lisp/mail/sendmail.el

index 15280f84aa924f0466bfa9c223816315206962ae..2ea6d676d53120bb769ffc0acad0417d3bd0342d 100644 (file)
@@ -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)