mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(sendmail-send-it): Report invalid values of mail-from-style.
This commit is contained in:
parent
631ba13e27
commit
55c3534be0
1 changed files with 4 additions and 1 deletions
|
|
@ -852,7 +852,10 @@ the user from the mailer."
|
|||
(goto-char fullname-start))))
|
||||
(insert ")\n"))
|
||||
((null mail-from-style)
|
||||
(insert "From: " login "\n")))))
|
||||
(insert "From: " login "\n"))
|
||||
((eq mail-from-style 'system-default)
|
||||
nil)
|
||||
(t (error "Invalid value for `system-default'")))))
|
||||
;; Insert an extra newline if we need it to work around
|
||||
;; Sun's bug that swallows newlines.
|
||||
(goto-char (1+ delimline))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue