aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-06-17 02:29:54 +0000
committerRichard M. Stallman <[email protected]>1997-06-17 02:29:54 +0000
commitb3e13f5d78fbb9c4986d52ad814853a8a34828db (patch)
treed76a64d8e3fab4202973fd973c961f5e7a167a3c
parent1603f29ab96c03b70818de0bb0922c2259e56764 (diff)
Fix previous change.
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 272ea55796..adb34a9c4d 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -357,7 +357,9 @@ If within the headers, this makes the new lines into continuation lines."
(if (< (point)
(save-excursion
(goto-char (point-min))
- (if (search-forward (concat "^" mail-header-separator "$") nil t)
+ (if (re-search-forward
+ (concat "^" (regexp-quote mail-header-separator) "$")
+ nil t)
(point)
0)))
(let ((old-line-start (save-excursion (beginning-of-line) (point))))
@@ -375,7 +377,9 @@ If within the headers, this makes the new lines into continuation lines."
(if (< (point)
(save-excursion
(goto-char (point-min))
- (if (search-forward (concat "^" mail-header-separator "$") nil t)
+ (if (re-search-forward
+ (concat "^" (regexp-quote mail-header-separator) "$")
+ nil t)
(point)
0)))
(let (beg end fieldname)