summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-12-18 13:47:13 +0000
committerDave Love <fx@gnu.org>2000-12-18 13:47:13 +0000
commit10573bd77ba8f48fffff64fd0b92a75ea02c1073 (patch)
treec42287cc12cf4f24a9272de9babe0a2d3afc079b /lisp
parent6b0c35921b887444cba94fb90716968026e9d3b6 (diff)
downloademacs-10573bd77ba8f48fffff64fd0b92a75ea02c1073.tar.gz
(send-mail-function): Customize.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/sendmail.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index e3992b3e187..e94e48b5c64 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -96,10 +96,15 @@ nil means let mailer mail back a message to report errors."
;; Useful to set in site-init.el
;;;###autoload
-(defvar send-mail-function 'sendmail-send-it "\
+(defcustom send-mail-function 'sendmail-send-it "\
Function to call to send the current buffer as mail.
The headers should be delimited by a line which is
-not a valid RFC822 header or continuation line.")
+not a valid RFC822 header or continuation line."
+ :type '(radio (function-item sendmail-send-it)
+ (function-item feedmail-send-it)
+ (function-item smtpmail-send-it)
+ function)
+ :group 'sendmail)
;;;###autoload
(defcustom mail-header-separator "--text follows this line--" "\