* mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility.

This commit is contained in:
Lars Magne Ingebrigtsen 2011-07-06 23:34:13 +02:00
parent e0457abee8
commit 4906cd3d17
2 changed files with 7 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
* 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.

View file

@ -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)