2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
+ * mail/sendmail.el (send-mail-function): Change the default to
+ `sendmail-query-once'.
+
* net/network-stream.el (network-stream-open-starttls): Try using
a plain connection even if the server offered STARTTLS, and we
kinda wanted to use it, if Emacs doesn't have any STARTTLS
;;;###autoload
(put 'send-mail-function 'standard-value
;; MS-Windows can access the clipboard even under -nw.
- '((if (or (and window-system (eq system-type 'darwin))
- (eq system-type 'windows-nt))
- 'mailclient-send-it
- 'sendmail-send-it)))
+ '('sendmail-query-once))
;; Useful to set in site-init.el
;;;###autoload
-(defcustom send-mail-function
- (if (or (and window-system (eq system-type 'darwin))
- ;; MS-Windows can access the clipboard even under -nw.
- (eq system-type 'windows-nt))
- 'mailclient-send-it
- 'sendmail-send-it)
+(defcustom send-mail-function 'sendmail-query-once
"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,
(function-item mailclient-send-it :tag "Use Mailclient package")
function)
:initialize 'custom-initialize-delay
+ :version "24.1"
:group 'sendmail)
(defvar sendmail-query-once-function 'query