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 /lisp/mail | |
| 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
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rmail.el | 5 |
1 files changed, 5 insertions, 0 deletions
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: |