X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fmessage.el;h=f32981fbaa2a08821ce99ee5ec3e4c5f5603fba4;hb=6910044663bc77081e08faabd6385cd34a9c8f5d;hp=96027a1101ec0f15d5db2d87513e9cde1c7c905a;hpb=86089ad3ebb9713c72ac8a8993d2c3915713d813;p=gnus diff --git a/lisp/message.el b/lisp/message.el index 96027a110..f32981fba 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -682,14 +682,16 @@ Done before generating the new subject of a forward." (t (error "Don't know how to send mail. Please customize `message-send-mail-function'")))) -;; Useful to set in site-init.el -(defcustom message-send-mail-function +(defun message-default-send-mail-function () (cond ((eq send-mail-function 'smtpmail-send-it) 'message-smtpmail-send-it) ((eq send-mail-function 'feedmail-send-it) 'feedmail-send-it) ((eq send-mail-function 'sendmail-query-once) 'sendmail-query-once) ((eq send-mail-function 'mailclient-send-it) 'message-send-mail-with-mailclient) - (t (message-send-mail-function))) + (t (message-send-mail-function)))) + +;; Useful to set in site-init.el +(defcustom message-send-mail-function (message-default-send-mail-function) "Function to call to send the current buffer as mail. The headers should be delimited by a line whose contents match the variable `mail-header-separator'. @@ -1137,6 +1139,7 @@ probably want to set this variable only for specific groups, e.g. using `gnus-posting-styles': (eval (set (make-local-variable 'message-cite-reply-position) 'above))" + :version "24.1" :type '(choice (const :tag "Reply inline" 'traditional) (const :tag "Reply above" 'above) (const :tag "Reply below" 'below))