aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Blandy1991-02-23 19:19:56 +0000
committerJim Blandy1991-02-23 19:19:56 +0000
commitac13660acb92bd316bcfc3937940fd17c8dc21a1 (patch)
tree1cba131dc67e2d7d36146bba5cc764500cc886df
parent2dd96f23308636ad78b120c58ecb3dce7e769c26 (diff)
downloademacs-ac13660acb92bd316bcfc3937940fd17c8dc21a1.tar.gz
emacs-ac13660acb92bd316bcfc3937940fd17c8dc21a1.zip
*** empty log message ***
-rw-r--r--lisp/mail/rmailkwd.el14
1 files changed, 9 insertions, 5 deletions
diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el
index af48e0f7dec..11b4cf54813 100644
--- a/lisp/mail/rmailkwd.el
+++ b/lisp/mail/rmailkwd.el
@@ -111,7 +111,7 @@ Completion is performed over known labels when reading."
111 111
112;; Commented functions aren't used by RMAIL but might be nice for user 112;; Commented functions aren't used by RMAIL but might be nice for user
113;; packages that do stuff with RMAIL. Note that rmail-message-labels-p 113;; packages that do stuff with RMAIL. Note that rmail-message-labels-p
114;; is in rmailsum now. 114;; is in rmail.el now.
115 115
116;(defun rmail-message-attribute-p (attribute &optional n) 116;(defun rmail-message-attribute-p (attribute &optional n)
117; "Returns t if ATTRIBUTE on NTH or current message." 117; "Returns t if ATTRIBUTE on NTH or current message."
@@ -171,14 +171,18 @@ Completion is performed over known labels when reading."
171 171
172;; Motion on messages with keywords. 172;; Motion on messages with keywords.
173 173
174(defun rmail-previous-labeled-message (n label) 174(defun rmail-previous-labeled-message (n labels)
175 "Show previous message with LABEL. Defaults to last labels used. 175 "Show previous message with one of the labels LABELS.
176LABELS should be a comma-separated list of label names.
177If LABELS is empty, the last set of labels specified is used.
176With prefix argument N moves backward N messages with these labels." 178With prefix argument N moves backward N messages with these labels."
177 (interactive "p\nsMove to previous msg with labels: ") 179 (interactive "p\nsMove to previous msg with labels: ")
178 (rmail-next-labeled-message (- n) label)) 180 (rmail-next-labeled-message (- n) labels))
179 181
180(defun rmail-next-labeled-message (n labels) 182(defun rmail-next-labeled-message (n labels)
181 "Show next message with LABEL. Defaults to last labels used. 183 "Show next message with one of the labels LABELS.
184LABELS should be a comma-separated list of label names.
185If LABELS is empty, the last set of labels specified is used.
182With prefix argument N moves forward N messages with these labels." 186With prefix argument N moves forward N messages with these labels."
183 (interactive "p\nsMove to next msg with labels: ") 187 (interactive "p\nsMove to next msg with labels: ")
184 (if (string= labels "") 188 (if (string= labels "")