aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/rmailout.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index 82e665002c9..900e1ba31d7 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -39,12 +39,14 @@ a file name as a string.")
39 39
40(defun rmail-output-menu (event) 40(defun rmail-output-menu (event)
41 "Output current message to another Rmail file, chosen with a menu. 41 "Output current message to another Rmail file, chosen with a menu.
42Also set the default for subsequent \\[rmail-output-to-rmail-file] commands.
42The variables `rmail-secondary-file-directory' and 43The variables `rmail-secondary-file-directory' and
43`rmail-secondary-file-regexp' control which files are offered in the menu." 44`rmail-secondary-file-regexp' control which files are offered in the menu."
44 (interactive "e") 45 (interactive "e")
45 (let ((file-name (rmail-secondary-file-menu event))) 46 (let ((file-name (rmail-secondary-file-menu event)))
46 (if file-name 47 (if file-name
47 (rmail-output-to-rmail-file file-name)))) 48 (rmail-output-to-rmail-file
49 (setq rmail-default-rmail-file file-name)))))
48 50
49;;; There are functions elsewhere in Emacs that use this function; check 51;;; There are functions elsewhere in Emacs that use this function; check
50;;; them out before you change the calling method. 52;;; them out before you change the calling method.
@@ -56,7 +58,7 @@ buffer visiting that file.
56If the file exists and is not an Rmail file, 58If the file exists and is not an Rmail file,
57the message is appended in inbox format. 59the message is appended in inbox format.
58 60
59The default file name comes from `rmail-last-rmail-file', 61The default file name comes from `rmail-default-rmail-file',
60which is updated to the name you use in this command. 62which is updated to the name you use in this command.
61 63
62A prefix argument N says to output N consecutive messages 64A prefix argument N says to output N consecutive messages