aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-27 00:29:24 +0000
committerRichard M. Stallman1996-09-27 00:29:24 +0000
commit3457b06a543ce40c1b1da1ee653d52b09b169740 (patch)
treebd1ceab103fd4d50e0a99f9ee68b364a3cba94db /lisp
parentd2288651c20276f34a39d93c133201bc95bec058 (diff)
downloademacs-3457b06a543ce40c1b1da1ee653d52b09b169740.tar.gz
emacs-3457b06a543ce40c1b1da1ee653d52b09b169740.zip
(rmail-read-label, rmail-add-label, rmail-kill-label)
(rmail-previous-labeled-message, rmail-next-labeled-message): Add autoloads.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/rmailkwd.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el
index 37875bf16f4..dfafab38e60 100644
--- a/lisp/mail/rmailkwd.el
+++ b/lisp/mail/rmailkwd.el
@@ -44,18 +44,21 @@
44 44
45(defvar rmail-keywords) 45(defvar rmail-keywords)
46 46
47;;;###autoload
47(defun rmail-add-label (string) 48(defun rmail-add-label (string)
48 "Add LABEL to labels associated with current RMAIL message. 49 "Add LABEL to labels associated with current RMAIL message.
49Completion is performed over known labels when reading." 50Completion is performed over known labels when reading."
50 (interactive (list (rmail-read-label "Add label"))) 51 (interactive (list (rmail-read-label "Add label")))
51 (rmail-set-label string t)) 52 (rmail-set-label string t))
52 53
54;;;###autoload
53(defun rmail-kill-label (string) 55(defun rmail-kill-label (string)
54 "Remove LABEL from labels associated with current RMAIL message. 56 "Remove LABEL from labels associated with current RMAIL message.
55Completion is performed over known labels when reading." 57Completion is performed over known labels when reading."
56 (interactive (list (rmail-read-label "Remove label"))) 58 (interactive (list (rmail-read-label "Remove label")))
57 (rmail-set-label string nil)) 59 (rmail-set-label string nil))
58 60
61;;;###autoload
59(defun rmail-read-label (prompt) 62(defun rmail-read-label (prompt)
60 (if (not rmail-keywords) (rmail-parse-file-keywords)) 63 (if (not rmail-keywords) (rmail-parse-file-keywords))
61 (let ((result 64 (let ((result
@@ -169,6 +172,7 @@ Completion is performed over known labels when reading."
169 172
170;; Motion on messages with keywords. 173;; Motion on messages with keywords.
171 174
175;;;###autoload
172(defun rmail-previous-labeled-message (n labels) 176(defun rmail-previous-labeled-message (n labels)
173 "Show previous message with one of the labels LABELS. 177 "Show previous message with one of the labels LABELS.
174LABELS should be a comma-separated list of label names. 178LABELS should be a comma-separated list of label names.
@@ -177,6 +181,7 @@ With prefix argument N moves backward N messages with these labels."
177 (interactive "p\nsMove to previous msg with labels: ") 181 (interactive "p\nsMove to previous msg with labels: ")
178 (rmail-next-labeled-message (- n) labels)) 182 (rmail-next-labeled-message (- n) labels))
179 183
184;;;###autoload
180(defun rmail-next-labeled-message (n labels) 185(defun rmail-next-labeled-message (n labels)
181 "Show next message with one of the labels LABELS. 186 "Show next message with one of the labels LABELS.
182LABELS should be a comma-separated list of label names. 187LABELS should be a comma-separated list of label names.