aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/mail
diff options
context:
space:
mode:
authorJohn Paul Wallington2003-02-06 22:02:35 +0000
committerJohn Paul Wallington2003-02-06 22:02:35 +0000
commit689421a9696767055deef191a6e8da493bce8561 (patch)
tree0c40424e37947097f41848c668bea3a677134bf6 /lisp/mail
parent5b741fa2383af1d5713ab9f84217bd42cd5ccfc0 (diff)
downloademacs-689421a9696767055deef191a6e8da493bce8561.tar.gz
emacs-689421a9696767055deef191a6e8da493bce8561.zip
(rmail-summary-previous-msg): Add docstring.
(rmail-summary-line-count-flag, rmail-summary-previous-labeled-message) (rmail-summary-next-labeled-message, rmail-summary-resend) (rmail-summary-override-mail-send-and-exit): Doc fixes.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/rmailsum.el16
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 6431180845f..8e55901f3c0 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -42,7 +42,7 @@
42 42
43;;;###autoload 43;;;###autoload
44(defcustom rmail-summary-line-count-flag t 44(defcustom rmail-summary-line-count-flag t
45 "*Non-nil if Rmail summary should show the number of lines in each message." 45 "*Non-nil means Rmail summary should show the number of lines in each message."
46 :type 'boolean 46 :type 'boolean
47 :group 'rmail-summary) 47 :group 'rmail-summary)
48 48
@@ -513,15 +513,17 @@ messages, or backward if NUMBER is negative."
513 non-del-msg-found))) 513 non-del-msg-found)))
514 (setq count (1- count)))) 514 (setq count (1- count))))
515 (beginning-of-line) 515 (beginning-of-line)
516 (display-buffer rmail-view-buffer) 516 (display-buffer rmail-view-buffer))
517 )
518 517
519(defun rmail-summary-previous-msg (&optional number) 518(defun rmail-summary-previous-msg (&optional number)
519 "Display previous non-deleted msg from rmail file.
520With optional prefix argument NUMBER, moves backward this number of
521non-deleted messages."
520 (interactive "p") 522 (interactive "p")
521 (rmail-summary-next-msg (- (if number number 1)))) 523 (rmail-summary-next-msg (- (if number number 1))))
522 524
523(defun rmail-summary-next-labeled-message (n labels) 525(defun rmail-summary-next-labeled-message (n labels)
524 "Show next message with LABEL. Defaults to last labels used. 526 "Show next message with LABELS. Defaults to last labels used.
525With prefix argument N moves forward N messages with these labels." 527With prefix argument N moves forward N messages with these labels."
526 (interactive "p\nsMove to next msg with labels: ") 528 (interactive "p\nsMove to next msg with labels: ")
527 (let (msg) 529 (let (msg)
@@ -532,7 +534,7 @@ With prefix argument N moves forward N messages with these labels."
532 (rmail-summary-goto-msg msg))) 534 (rmail-summary-goto-msg msg)))
533 535
534(defun rmail-summary-previous-labeled-message (n labels) 536(defun rmail-summary-previous-labeled-message (n labels)
535 "Show previous message with LABEL. Defaults to last labels used. 537 "Show previous message with LABELS. Defaults to last labels used.
536With prefix argument N moves backward N messages with these labels." 538With prefix argument N moves backward N messages with these labels."
537 (interactive "p\nsMove to previous msg with labels: ") 539 (interactive "p\nsMove to previous msg with labels: ")
538 (let (msg) 540 (let (msg)
@@ -1405,7 +1407,7 @@ Completion is performed over known labels when reading."
1405;;;; *** Rmail Summary Mailing Commands *** 1407;;;; *** Rmail Summary Mailing Commands ***
1406 1408
1407(defun rmail-summary-override-mail-send-and-exit () 1409(defun rmail-summary-override-mail-send-and-exit ()
1408 "Replace bindings to 'mail-send-and-exit with 'rmail-summary-send-and-exit" 1410 "Replace bindings to `mail-send-and-exit' with `rmail-summary-send-and-exit'."
1409 (use-local-map (copy-keymap (current-local-map))) 1411 (use-local-map (copy-keymap (current-local-map)))
1410 (dolist (key (where-is-internal 'mail-send-and-exit)) 1412 (dolist (key (where-is-internal 'mail-send-and-exit))
1411 (define-key (current-local-map) key 'rmail-summary-send-and-exit))) 1413 (define-key (current-local-map) key 'rmail-summary-send-and-exit)))
@@ -1475,7 +1477,7 @@ see the documentation of `rmail-resend'."
1475 (rmail-summary-override-mail-send-and-exit))) 1477 (rmail-summary-override-mail-send-and-exit)))
1476 1478
1477(defun rmail-summary-resend () 1479(defun rmail-summary-resend ()
1478 "Resend current message using 'rmail-resend'." 1480 "Resend current message using `rmail-resend'."
1479 (interactive) 1481 (interactive)
1480 (save-excursion 1482 (save-excursion
1481 (let ((window (get-buffer-window rmail-buffer))) 1483 (let ((window (get-buffer-window rmail-buffer)))