Mercurial > emacs
changeset 11709:03f977d9a240
(sendmail-send-it): Check continuation lines
when checking for empty subject lines.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 05 May 1995 22:31:11 +0000 |
parents | 0de77f509d07 |
children | 0652683b14e6 |
files | lisp/mail/sendmail.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/sendmail.el Fri May 05 09:50:51 1995 +0000 +++ b/lisp/mail/sendmail.el Fri May 05 22:31:11 1995 +0000 @@ -508,7 +508,7 @@ ;;; (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.