From 4906cd3d170f550150b28a22c2000dd0b4ff326f Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Wed, 6 Jul 2011 23:34:13 +0200 Subject: [PATCH] * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a defcustom again for backwards compatibility. --- lisp/ChangeLog | 3 +++ lisp/mail/smtpmail.el | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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) -- 2.39.2