+2009-01-20 Glenn Morris <rgm@gnu.org>
+
+ * pmailkwd.el (pmail-last-label, pmail-last-multi-labels):
+ Move back to pmail.el.
+ * pmail.el (pmail-last-label, pmail-last-multi-labels):
+ Move back here from pmailkwd.el.
+
+ * pmailsum.el (pmail-message-labels-p): Move back to pmail.el.
+ * pmail.el (pmail-message-labels-p): Move back here from pmailsum.el.
+
2009-01-16 Glenn Morris <rgm@gnu.org>
* pmailout.el (pmail-update-summary): Declare.
\f
;; `Sticky' default variables.
+;; Last individual label specified to a or k.
+(defvar pmail-last-label nil)
+
+;; Last set of values specified to C-M-n, C-M-p, C-M-s or C-M-l.
+(defvar pmail-last-multi-labels nil)
+
(defvar pmail-last-regexp nil)
(put 'pmail-last-regexp 'permanent-local t)
"Test the unseen attribute for message MSGNUM.
Return non-nil if the unseen attribute is set, nil otherwise."
(pmail-message-attr-p msgnum "......U"))
+
+(defun pmail-message-labels-p (msg labels)
+ (string-match labels (pmail-get-labels msg)))
\f
;;;; *** Pmail Message Selection And Support ***