mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(send-mail-function): Autoload the standard-value.
This commit is contained in:
parent
3cf212510b
commit
5e7f11bc15
1 changed files with 9 additions and 0 deletions
|
|
@ -123,6 +123,15 @@ nil means let mailer mail back a message to report errors."
|
|||
:type 'regexp
|
||||
:group 'sendmail)
|
||||
|
||||
;; Revent problems with `window-system' not having the correct value
|
||||
;; when loaddefs.el is loaded. `custom-reevaluate-setting' needs the
|
||||
;; standard value.
|
||||
;;;###autoload
|
||||
(put 'send-mail-function 'standard-value
|
||||
'((if (and window-system (memq system-type '(darwin windows-nt)))
|
||||
'mailclient-send-it
|
||||
'sendmail-send-it)))
|
||||
|
||||
;; Useful to set in site-init.el
|
||||
;;;###autoload
|
||||
(defcustom send-mail-function
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue