From: Lars Magne Ingebrigtsen Date: Wed, 6 Jul 2011 21:34:13 +0000 (+0200) Subject: * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for... X-Git-Tag: emacs-pretest-24.0.90~104^2~461^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4906cd3d170f550150b28a22c2000dd0b4ff326f;p=emacs.git * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b82c58da3ae..26e8bec7937 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2011-07-06 Lars Magne Ingebrigtsen + * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a + defcustom again for backwards compatibility. + * simple.el (shell-command-on-region): Fill. * dired-aux.el (dired-kill-line): Add a doc string. 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)