changeset 11551:032725b727cd

(mail-position-on-field): Use $, not \n, in regexp.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Apr 1995 03:35:00 +0000
parents 11a7257fc6fa
children c20207bd74a8
files lisp/mail/sendmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Tue Apr 25 03:24:37 1995 +0000
+++ b/lisp/mail/sendmail.el	Tue Apr 25 03:35:00 1995 +0000
@@ -753,7 +753,7 @@
   (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)