diff options
| author | Julien Danjou | 2012-07-21 11:05:32 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-07-21 11:05:32 +0000 |
| commit | 0fb40182ca2991975bb419199fa48bfc7d322dad (patch) | |
| tree | 73416a1a1bfeaea5a8e0820348633c1b91e81993 | |
| parent | c4328746b51eb870cdf0b17a97b08a5eb0798fd2 (diff) | |
| download | emacs-0fb40182ca2991975bb419199fa48bfc7d322dad.tar.gz emacs-0fb40182ca2991975bb419199fa48bfc7d322dad.zip | |
lisp/gnus/message.el: Replace deprecated rmail vars
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 1e3d386476b..17e8006659f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-07-21 Julien Danjou <julien@danjou.info> | ||
| 2 | |||
| 3 | * message.el (message-dont-reply-to-names): Replace deprecated | ||
| 4 | `rmail-dont-reply-to-names' with `mail-dont-reply-to-names'. | ||
| 5 | (message-get-reply-headers): Ditto. | ||
| 6 | |||
| 1 | 2012-07-18 Julien Danjou <julien@danjou.info> | 7 | 2012-07-18 Julien Danjou <julien@danjou.info> |
| 2 | 8 | ||
| 3 | * sieve-mode.el (sieve-mode-map): Bind C-c C-c to | 9 | * sieve-mode.el (sieve-mode-map): Bind C-c C-c to |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 21ce9e4a873..b4bad214043 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1332,11 +1332,11 @@ If nil, you might be asked to input the charset." | |||
| 1332 | :type 'symbol) | 1332 | :type 'symbol) |
| 1333 | 1333 | ||
| 1334 | (defcustom message-dont-reply-to-names | 1334 | (defcustom message-dont-reply-to-names |
| 1335 | (and (boundp 'rmail-dont-reply-to-names) rmail-dont-reply-to-names) | 1335 | (and (boundp 'mail-dont-reply-to-names) mail-dont-reply-to-names) |
| 1336 | "*Addresses to prune when doing wide replies. | 1336 | "*Addresses to prune when doing wide replies. |
| 1337 | This can be a regexp or a list of regexps. Also, a value of nil means | 1337 | This can be a regexp or a list of regexps. Also, a value of nil means |
| 1338 | exclude your own user name only." | 1338 | exclude your own user name only." |
| 1339 | :version "21.1" | 1339 | :version "24.2" |
| 1340 | :group 'message | 1340 | :group 'message |
| 1341 | :link '(custom-manual "(message)Wide Reply") | 1341 | :link '(custom-manual "(message)Wide Reply") |
| 1342 | :type '(choice (const :tag "Yourself" nil) | 1342 | :type '(choice (const :tag "Yourself" nil) |
| @@ -1933,7 +1933,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1933 | (autoload 'nndraft-request-associate-buffer "nndraft") | 1933 | (autoload 'nndraft-request-associate-buffer "nndraft") |
| 1934 | (autoload 'nndraft-request-expire-articles "nndraft") | 1934 | (autoload 'nndraft-request-expire-articles "nndraft") |
| 1935 | (autoload 'nnvirtual-find-group-art "nnvirtual") | 1935 | (autoload 'nnvirtual-find-group-art "nnvirtual") |
| 1936 | (autoload 'rmail-dont-reply-to "mail-utils") | 1936 | (autoload 'mail-dont-reply-to "mail-utils") |
| 1937 | (autoload 'rmail-msg-is-pruned "rmail") | 1937 | (autoload 'rmail-msg-is-pruned "rmail") |
| 1938 | (autoload 'rmail-output "rmailout") | 1938 | (autoload 'rmail-output "rmailout") |
| 1939 | 1939 | ||
| @@ -6802,9 +6802,9 @@ want to get rid of this query permanently."))) | |||
| 6802 | ;; Squeeze whitespace. | 6802 | ;; Squeeze whitespace. |
| 6803 | (while (string-match "[ \t][ \t]+" recipients) | 6803 | (while (string-match "[ \t][ \t]+" recipients) |
| 6804 | (setq recipients (replace-match " " t t recipients))) | 6804 | (setq recipients (replace-match " " t t recipients))) |
| 6805 | ;; Remove addresses that match `rmail-dont-reply-to-names'. | 6805 | ;; Remove addresses that match `mail-dont-reply-to-names'. |
| 6806 | (let ((rmail-dont-reply-to-names (message-dont-reply-to-names))) | 6806 | (let ((mail-dont-reply-to-names (message-dont-reply-to-names))) |
| 6807 | (setq recipients (rmail-dont-reply-to recipients))) | 6807 | (setq recipients (mail-dont-reply-to recipients))) |
| 6808 | ;; Perhaps "Mail-Copies-To: never" removed the only address? | 6808 | ;; Perhaps "Mail-Copies-To: never" removed the only address? |
| 6809 | (if (string-equal recipients "") | 6809 | (if (string-equal recipients "") |
| 6810 | (setq recipients author)) | 6810 | (setq recipients author)) |