diff options
| author | Basil L. Contovounesios | 2019-04-11 23:55:03 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2019-05-12 11:59:11 +0100 |
| commit | ef62469e566b6254742e0287b04fd138225e82a8 (patch) | |
| tree | 3374c2b07a58808c928dfb654b307a46beaabf89 | |
| parent | 40b3dcb7f7be92f0471e7a503ae8598c72100146 (diff) | |
| download | emacs-ef62469e566b6254742e0287b04fd138225e82a8.tar.gz emacs-ef62469e566b6254742e0287b04fd138225e82a8.zip | |
Fix some gnus-msg.el variables (bug#35239)
* lisp/gnus/gnus-msg.el (gnus-gcc-externalize-attachments):
Fix custom :type.
(gnus-debug-files, gnus-debug-exclude-variables): Mark variables
that have been unused since Emacs 24.1 as obsolete.
(gnus-check-before-posting): Remove unused variable.
| -rw-r--r-- | lisp/gnus/gnus-msg.el | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index b6d649d7603..b7a97f19d00 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el | |||
| @@ -158,9 +158,9 @@ if a regexp and matches the Gcc group name, attach files as external parts; | |||
| 158 | if nil, attach files as normal parts." | 158 | if nil, attach files as normal parts." |
| 159 | :version "22.1" | 159 | :version "22.1" |
| 160 | :group 'gnus-message | 160 | :group 'gnus-message |
| 161 | :type '(choice (const nil :tag "None") | 161 | :type '(choice (const :tag "None" nil) |
| 162 | (const all :tag "Any") | 162 | (const :tag "Any" all) |
| 163 | (string :tag "Regexp"))) | 163 | regexp)) |
| 164 | 164 | ||
| 165 | (defcustom gnus-gcc-self-resent-messages 'no-gcc-self | 165 | (defcustom gnus-gcc-self-resent-messages 'no-gcc-self |
| 166 | "Like `gcc-self' group parameter, only for unmodified resent messages. | 166 | "Like `gcc-self' group parameter, only for unmodified resent messages. |
| @@ -232,7 +232,9 @@ List of charsets that are permitted to be unencoded.") | |||
| 232 | "Files whose variables will be reported in `gnus-bug'." | 232 | "Files whose variables will be reported in `gnus-bug'." |
| 233 | :version "22.1" | 233 | :version "22.1" |
| 234 | :group 'gnus-message | 234 | :group 'gnus-message |
| 235 | :type '(repeat (string :tag "File"))) | 235 | :type '(repeat file)) |
| 236 | |||
| 237 | (make-obsolete-variable 'gnus-debug-files "it is no longer used." "24.1") | ||
| 236 | 238 | ||
| 237 | (defcustom gnus-debug-exclude-variables | 239 | (defcustom gnus-debug-exclude-variables |
| 238 | '(mm-mime-mule-charset-alist | 240 | '(mm-mime-mule-charset-alist |
| @@ -240,7 +242,10 @@ List of charsets that are permitted to be unencoded.") | |||
| 240 | "Variables that should not be reported in `gnus-bug'." | 242 | "Variables that should not be reported in `gnus-bug'." |
| 241 | :version "22.1" | 243 | :version "22.1" |
| 242 | :group 'gnus-message | 244 | :group 'gnus-message |
| 243 | :type '(repeat (symbol :tag "Variable"))) | 245 | :type '(repeat variable)) |
| 246 | |||
| 247 | (make-obsolete-variable | ||
| 248 | 'gnus-debug-exclude-variables "it is no longer used." "24.1") | ||
| 244 | 249 | ||
| 245 | (defcustom gnus-discouraged-post-methods | 250 | (defcustom gnus-discouraged-post-methods |
| 246 | '(nndraft nnml nnimap nnmaildir nnmh nnfolder nndir) | 251 | '(nndraft nnml nnimap nnmaildir nnmh nnfolder nndir) |
| @@ -340,7 +345,6 @@ only affect the Gcc copy, but not the original message." | |||
| 340 | (defvar gnus-article-yanked-articles nil) | 345 | (defvar gnus-article-yanked-articles nil) |
| 341 | (defvar gnus-message-buffer "*Mail Gnus*") | 346 | (defvar gnus-message-buffer "*Mail Gnus*") |
| 342 | (defvar gnus-article-copy nil) | 347 | (defvar gnus-article-copy nil) |
| 343 | (defvar gnus-check-before-posting nil) | ||
| 344 | (defvar gnus-last-posting-server nil) | 348 | (defvar gnus-last-posting-server nil) |
| 345 | (defvar gnus-message-group-art nil) | 349 | (defvar gnus-message-group-art nil) |
| 346 | 350 | ||