aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-05 05:08:57 +0000
committerRichard M. Stallman1994-05-05 05:08:57 +0000
commitdc591caf15cf52a98fb8edae08ded4a79b8b4298 (patch)
treefa623634fa506043b081b6e92e9a62bf8ddd82e9
parent0f5f20968f47bb3f1bd4f339974cbc92a1a056bb (diff)
downloademacs-dc591caf15cf52a98fb8edae08ded4a79b8b4298.tar.gz
emacs-dc591caf15cf52a98fb8edae08ded4a79b8b4298.zip
(rmail-output-menu): Set rmail-default-rmail-file.
(rmail-output-to-rmail-file): Doc fix.
-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