]> git.eshelyaron.com Git - emacs.git/commit
* lisp/gnus/message.el: Reduce redundancy with send-mail-function
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Jul 2019 20:37:01 +0000 (16:37 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 30 Jul 2019 20:37:01 +0000 (16:37 -0400)
commit3a59cc84069376802ba8fd731b524d78db58262c
tree1276ded76d3bf9762099f780f407025cf9f2b81b
parentadd146f09f0f73f4af4760cc6205b287076c08d8
* lisp/gnus/message.el: Reduce redundancy with send-mail-function

(message-send-mail-function) <function>: Remove `local-library` tests
for libs distributed with Emacs.
(message-use-send-mail-function): New function.
(message-default-send-mail-function): Default to it, and remove cases
already handled by it.
(message--default-send-mail-function): New function.
(message-send-mail-function) <variable>: Use it as new default.
(message-sendmail-f-is-evil): Obey mail-specify-envelope-from if available.
(message-check, message-with-reply-buffer): Use `declare`.
(message-smtpmail-send-it): smtpmail accepts mail-header-separator,
so simplify and declare obsolete.
(message-send-mail-with-mailclient): Declare obsolete.
(message-check-news-body-syntax): Don't presume that the checksum is
a fixnum.
lisp/gnus/message.el