2006-01-17 Alex Schroeder <alex@gnu.org>
+ * rmailsum.el (rmail-summary-by-labels): No longer concatenate
+ regexp with commas because of recent change to
+ rmail-message-labels-p.
+ (rmail-summary-rmail-update): Replace rmail-message-labels-p test
+ with simple rmail-desc-get-keywords.
+
+ * rmail.el (rmail-message-labels-p): Rewrote using
+ rmail-desc-get-keywords.
+ (rmail-auto-file): Rewrote test for "filed" using
+ rmail-desc-get-keywords.
+
* rmailsum.el (rmail-summary-font-lock-keywords): Fix regular
expression for unread messages.
(rmail-summary-mode): Added documentation for the filtering
(defun rmail-auto-file ()
"Automatically move a message into a sub-folder based on criteria.
Called when a new message is displayed."
- (if (or (rmail-message-labels-p rmail-current-message "filed")
+ (if (or (member "filed" (rmail-desc-get-keywords rmail-current-message))
(not (string= (buffer-file-name)
(expand-file-name rmail-file-name))))
;; Do nothing if it's already been filed.