aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-08 11:48:18 +0000
committerRichard M. Stallman1994-01-08 11:48:18 +0000
commit84fa8eb54bcf68969c02cd84f7735ae2a77fc2af (patch)
treeb0718cf1026fd5227f276c06e14a8c46ec316449
parent162de1825de6bc2dbc5ab28f0a60ea0862d64800 (diff)
downloademacs-84fa8eb54bcf68969c02cd84f7735ae2a77fc2af.tar.gz
emacs-84fa8eb54bcf68969c02cd84f7735ae2a77fc2af.zip
(rmail-summary-by-senders):
Add missing arg to rmail-new-summary. (rmail-summary-output, rmail-summary-output-to-rmail-file): Handle rmail-delete-after-output explicitly here.
-rw-r--r--lisp/mail/rmailsum.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 5f02284619c..5bcbc2f5ae8 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -116,6 +116,7 @@ SENDERS is a string of names separated by commas."
116 (interactive "sSenders to summarize by: ") 116 (interactive "sSenders to summarize by: ")
117 (rmail-new-summary 117 (rmail-new-summary
118 (concat "senders " senders) 118 (concat "senders " senders)
119 (list 'rmail-summary-by-senders senders)
119 'rmail-message-senders-p 120 'rmail-message-senders-p
120 (mail-comma-list-regexp senders))) 121 (mail-comma-list-regexp senders)))
121 122
@@ -1038,14 +1039,20 @@ buffer visiting that file."
1038 (interactive) 1039 (interactive)
1039 (save-excursion 1040 (save-excursion
1040 (set-buffer rmail-buffer) 1041 (set-buffer rmail-buffer)
1041 (call-interactively 'rmail-output-to-rmail-file))) 1042 (let ((rmail-delete-after-output nil))
1043 (call-interactively 'rmail-output-to-rmail-file)))
1044 (if rmail-delete-after-output
1045 (rmail-summary-delete-message nil)))
1042 1046
1043(defun rmail-summary-output () 1047(defun rmail-summary-output ()
1044 "Append this message to Unix mail file named FILE-NAME." 1048 "Append this message to Unix mail file named FILE-NAME."
1045 (interactive) 1049 (interactive)
1046 (save-excursion 1050 (save-excursion
1047 (set-buffer rmail-buffer) 1051 (set-buffer rmail-buffer)
1048 (call-interactively 'rmail-output))) 1052 (let ((rmail-delete-after-output nil))
1053 (call-interactively 'rmail-output)))
1054 (if rmail-delete-after-output
1055 (rmail-summary-delete-message nil)))
1049 1056
1050;; Sorting messages in Rmail Summary buffer. 1057;; Sorting messages in Rmail Summary buffer.
1051 1058