aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-01-20 01:18:20 +0000
committerGlenn Morris2009-01-20 01:18:20 +0000
commit8d8d616c6b6a99e514f9d62dc7091eb35167397c (patch)
tree710200de22eaa652b65e01f0573ca61d82689e29
parent3cbaa3c2ccdef07b96c06397a6f4682ed4afe3a7 (diff)
downloademacs-8d8d616c6b6a99e514f9d62dc7091eb35167397c.tar.gz
emacs-8d8d616c6b6a99e514f9d62dc7091eb35167397c.zip
(pmail-last-label, pmail-last-multi-labels):
Move back here from pmailkwd.el. (pmail-message-labels-p): Move back here from pmailsum.el.
-rw-r--r--lisp/mail/ChangeLog.pmail10
-rw-r--r--lisp/mail/pmail.el9
2 files changed, 19 insertions, 0 deletions
diff --git a/lisp/mail/ChangeLog.pmail b/lisp/mail/ChangeLog.pmail
index af957c1c8a6..e725986d915 100644
--- a/lisp/mail/ChangeLog.pmail
+++ b/lisp/mail/ChangeLog.pmail
@@ -1,3 +1,13 @@
12009-01-20 Glenn Morris <rgm@gnu.org>
2
3 * pmailkwd.el (pmail-last-label, pmail-last-multi-labels):
4 Move back to pmail.el.
5 * pmail.el (pmail-last-label, pmail-last-multi-labels):
6 Move back here from pmailkwd.el.
7
8 * pmailsum.el (pmail-message-labels-p): Move back to pmail.el.
9 * pmail.el (pmail-message-labels-p): Move back here from pmailsum.el.
10
12009-01-16 Glenn Morris <rgm@gnu.org> 112009-01-16 Glenn Morris <rgm@gnu.org>
2 12
3 * pmailout.el (pmail-update-summary): Declare. 13 * pmailout.el (pmail-update-summary): Declare.
diff --git a/lisp/mail/pmail.el b/lisp/mail/pmail.el
index 75e0aff1927..dff53d0abee 100644
--- a/lisp/mail/pmail.el
+++ b/lisp/mail/pmail.el
@@ -621,6 +621,12 @@ by substituting the new message number into the existing list.")
621 621
622;; `Sticky' default variables. 622;; `Sticky' default variables.
623 623
624;; Last individual label specified to a or k.
625(defvar pmail-last-label nil)
626
627;; Last set of values specified to C-M-n, C-M-p, C-M-s or C-M-l.
628(defvar pmail-last-multi-labels nil)
629
624(defvar pmail-last-regexp nil) 630(defvar pmail-last-regexp nil)
625(put 'pmail-last-regexp 'permanent-local t) 631(put 'pmail-last-regexp 'permanent-local t)
626 632
@@ -2205,6 +2211,9 @@ This function assumes the Pmail buffer is unswapped."
2205 "Test the unseen attribute for message MSGNUM. 2211 "Test the unseen attribute for message MSGNUM.
2206Return non-nil if the unseen attribute is set, nil otherwise." 2212Return non-nil if the unseen attribute is set, nil otherwise."
2207 (pmail-message-attr-p msgnum "......U")) 2213 (pmail-message-attr-p msgnum "......U"))
2214
2215(defun pmail-message-labels-p (msg labels)
2216 (string-match labels (pmail-get-labels msg)))
2208 2217
2209;;;; *** Pmail Message Selection And Support *** 2218;;;; *** Pmail Message Selection And Support ***
2210 2219