1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(sendmail-send-it): Check continuation lines

when checking for empty subject lines.
This commit is contained in:
Richard M. Stallman 1995-05-05 22:31:11 +00:00
parent 85e508747c
commit 6696191053

View file

@ -508,7 +508,7 @@ the user from the mailer."
;;; (insert "Sender: " (user-login-name) "\n")))
;; Don't send out a blank subject line
(goto-char (point-min))
(if (re-search-forward "^Subject:[ \t]*\n" delimline t)
(if (re-search-forward "^Subject:\\([ \t]*\n\\)+\\b" delimline t)
(replace-match ""))
;; Put the "From:" field in unless for some odd reason
;; they put one in themselves.