diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-06 23:34:13 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-06 23:34:13 +0200 |
commit | 4906cd3d170f550150b28a22c2000dd0b4ff326f (patch) | |
tree | ec63acd5df22a1682a4bc6802e3129d4ad60c76e /lisp/mail | |
parent | e0457abee89abfe781a02de58ca6c35041e0e5d9 (diff) | |
download | emacs-4906cd3d170f550150b28a22c2000dd0b4ff326f.tar.gz emacs-4906cd3d170f550150b28a22c2000dd0b4ff326f.tar.bz2 emacs-4906cd3d170f550150b28a22c2000dd0b4ff326f.zip |
* mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility.
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/smtpmail.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el index 3fd2d9ddf21..1b53b47499b 100644 --- a/lisp/mail/smtpmail.el +++ b/lisp/mail/smtpmail.el @@ -71,9 +71,11 @@ :group 'mail) -(defvar smtpmail-default-smtp-server nil +(defcustom smtpmail-default-smtp-server nil "Specify default SMTP server. -This only has effect if you specify it before loading the smtpmail library.") +This only has effect if you specify it before loading the smtpmail library." + :type '(choice (const nil) string) + :group 'smtpmail) (defcustom smtpmail-smtp-server (or (getenv "SMTPSERVER") smtpmail-default-smtp-server) |