aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/mail/rmail.el39
2 files changed, 12 insertions, 34 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0a5ca4cf515..304a50c6850 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12009-08-21 Glenn Morris <rgm@gnu.org>
2
3 * mail/rmail.el (rmail-obsolete): Delete custom group.
4 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
5 (rmail-remote-password, rmail-remote-password-required):
6 Remove unneeded :set-after and :set properties.
7
12009-08-21 Michael Albinus <michael.albinus@gmx.de> 82009-08-21 Michael Albinus <michael.albinus@gmx.de>
2 9
3 * net/dbus.el (top): Initialize only when `dbusbind' is loaded. 10 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index c61efeb30be..5aa592b79f4 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -139,57 +139,28 @@ its character representation and its display representation.")
139 :prefix "rmail-edit-" 139 :prefix "rmail-edit-"
140 :group 'rmail) 140 :group 'rmail)
141 141
142(defgroup rmail-obsolete nil
143 "Rmail obsolete customization variables."
144 :group 'rmail)
145
146(defcustom rmail-movemail-program nil 142(defcustom rmail-movemail-program nil
147 "If non-nil, the file name of the `movemail' program." 143 "If non-nil, the file name of the `movemail' program."
148 :group 'rmail-retrieve 144 :group 'rmail-retrieve
149 :type '(choice (const nil) string)) 145 :type '(choice (const nil) string))
150 146
151(defcustom rmail-pop-password nil 147(define-obsolete-variable-alias 'rmail-pop-password
152 "Password to use when reading mail from POP server. 148 'rmail-remote-password "22.1")
153Please use `rmail-remote-password' instead."
154 :type '(choice (string :tag "Password")
155 (const :tag "Not Required" nil))
156 :group 'rmail-obsolete)
157
158(defcustom rmail-pop-password-required nil
159 "Non-nil if a password is required when reading mail from a POP server.
160Please use rmail-remote-password-required instead."
161 :type 'boolean
162 :group 'rmail-obsolete)
163 149
164(defcustom rmail-remote-password nil 150(defcustom rmail-remote-password nil
165 "Password to use when reading mail from a remote server. 151 "Password to use when reading mail from a remote server.
166This setting is ignored for mailboxes whose URL already contains a password." 152This setting is ignored for mailboxes whose URL already contains a password."
167 :type '(choice (string :tag "Password") 153 :type '(choice (string :tag "Password")
168 (const :tag "Not Required" nil)) 154 (const :tag "Not Required" nil))
169 :set-after '(rmail-pop-password)
170 :set #'(lambda (symbol value)
171 (set-default symbol
172 (if (and (not value)
173 (boundp 'rmail-pop-password)
174 rmail-pop-password)
175 rmail-pop-password
176 value))
177 (setq rmail-pop-password nil))
178 :group 'rmail-retrieve 155 :group 'rmail-retrieve
179 :version "22.1") 156 :version "22.1")
180 157
158(define-obsolete-variable-alias 'rmail-pop-password-required
159 'rmail-remote-password-required "22.1")
160
181(defcustom rmail-remote-password-required nil 161(defcustom rmail-remote-password-required nil
182 "Non-nil if a password is required when reading mail from a remote server." 162 "Non-nil if a password is required when reading mail from a remote server."
183 :type 'boolean 163 :type 'boolean
184 :set-after '(rmail-pop-password-required)
185 :set #'(lambda (symbol value)
186 (set-default symbol
187 (if (and (not value)
188 (boundp 'rmail-pop-password-required)
189 rmail-pop-password-required)
190 rmail-pop-password-required
191 value))
192 (setq rmail-pop-password-required nil))
193 :group 'rmail-retrieve 164 :group 'rmail-retrieve
194 :version "22.1") 165 :version "22.1")
195 166