From: Richard M. Stallman Date: Fri, 5 May 1995 22:31:11 +0000 (+0000) Subject: (sendmail-send-it): Check continuation lines X-Git-Tag: emacs-19.34~4149 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=66961910537b855c201407cc8416839bf432a464;p=emacs.git (sendmail-send-it): Check continuation lines when checking for empty subject lines. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 2ea6d676d53..e93252f82b5 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -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.