# HG changeset patch # User Richard M. Stallman # Date 799713071 0 # Node ID 03f977d9a240d220999503edabd8b011005a69ce # Parent 0de77f509d0777237f71161ffe0e817a66767a31 (sendmail-send-it): Check continuation lines when checking for empty subject lines. diff -r 0de77f509d07 -r 03f977d9a240 lisp/mail/sendmail.el --- 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.