diff options
| author | Glenn Morris | 2011-11-22 23:17:48 -0800 |
|---|---|---|
| committer | Glenn Morris | 2011-11-22 23:17:48 -0800 |
| commit | 50419064d4011c6d639633e8a629c6b8f987ee8a (patch) | |
| tree | dbe24694c912b519276fc52eb46f2ce260e86020 | |
| parent | b6e64c4136905ab4f00194c360bd6cd3cd767b9c (diff) | |
| download | emacs-50419064d4011c6d639633e8a629c6b8f987ee8a.tar.gz emacs-50419064d4011c6d639633e8a629c6b8f987ee8a.zip | |
* lisp/mail/rmail.el (rmail-message-filter): Mark as obsolete.
* etc/NEWS: Mention this.
Fixes: debbugs:2624
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 5 |
3 files changed, 14 insertions, 0 deletions
| @@ -725,6 +725,11 @@ more variants, including Mercury, and a lot more. | |||
| 725 | *** The command `rmail-epa-decrypt' decrypts OpenPGP data | 725 | *** The command `rmail-epa-decrypt' decrypts OpenPGP data |
| 726 | in the Rmail incoming message. | 726 | in the Rmail incoming message. |
| 727 | 727 | ||
| 728 | --- | ||
| 729 | *** The variable `rmail-message-filter' no longer has any effect. | ||
| 730 | This change was made in Emacs 23.1 but was not advertised at the time. | ||
| 731 | Try using `rmail-show-message-hook' instead. | ||
| 732 | |||
| 728 | ** Shell mode | 733 | ** Shell mode |
| 729 | 734 | ||
| 730 | *** Shell mode uses pcomplete rules, with the standard completion UI. | 735 | *** Shell mode uses pcomplete rules, with the standard completion UI. |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b30f9dcfab5..2c5a7f9d970 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-11-23 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624) | ||
| 4 | |||
| 1 | 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca> | 5 | 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 6 | ||
| 3 | * server.el (server-eval-and-print): Allow C-g (bug#6585). | 7 | * server.el (server-eval-and-print): Allow C-g (bug#6585). |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 184eaca6c4b..d69252fa469 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -482,6 +482,7 @@ still the current message in the Rmail buffer.") | |||
| 482 | ;; It's not clear what it should do now, since there is nothing that | 482 | ;; It's not clear what it should do now, since there is nothing that |
| 483 | ;; records when a message is shown for the first time (unseen is not | 483 | ;; records when a message is shown for the first time (unseen is not |
| 484 | ;; necessarily the same thing). | 484 | ;; necessarily the same thing). |
| 485 | ;; See http://lists.gnu.org/archive/html/emacs-devel/2009-03/msg00013.html | ||
| 485 | (defcustom rmail-message-filter nil | 486 | (defcustom rmail-message-filter nil |
| 486 | "If non-nil, a filter function for new messages in RMAIL. | 487 | "If non-nil, a filter function for new messages in RMAIL. |
| 487 | Called with region narrowed to the message, including headers, | 488 | Called with region narrowed to the message, including headers, |
| @@ -489,6 +490,10 @@ before obeying `rmail-ignored-headers'." | |||
| 489 | :group 'rmail-headers | 490 | :group 'rmail-headers |
| 490 | :type '(choice (const nil) function)) | 491 | :type '(choice (const nil) function)) |
| 491 | 492 | ||
| 493 | (make-obsolete-variable 'rmail-message-filter | ||
| 494 | "it is not used (try `rmail-show-message-hook')." | ||
| 495 | "23.1") | ||
| 496 | |||
| 492 | (defcustom rmail-automatic-folder-directives nil | 497 | (defcustom rmail-automatic-folder-directives nil |
| 493 | "List of directives specifying where to put a message. | 498 | "List of directives specifying where to put a message. |
| 494 | Each element of the list is of the form: | 499 | Each element of the list is of the form: |