]> git.eshelyaron.com Git - emacs.git/commitdiff
(sendmail-send-it): Check continuation lines
authorRichard M. Stallman <rms@gnu.org>
Fri, 5 May 1995 22:31:11 +0000 (22:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 5 May 1995 22:31:11 +0000 (22:31 +0000)
when checking for empty subject lines.

lisp/mail/sendmail.el

index 2ea6d676d53120bb769ffc0acad0417d3bd0342d..e93252f82b5f2d8babe858fb3ea240be1ae74ebc 100644 (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.