1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(unrmail): Default the directory of TO-FILE based on FILE.

This commit is contained in:
Karl Heuer 1996-01-24 23:32:31 +00:00
parent 5246db4e1f
commit a538e583ca

View File

@ -53,6 +53,8 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'."
(rmail-display-summary nil)
(rmail-delete-after-output nil))
(rmail file)
;; Default the directory of TO-FILE based on where FILE is.
(setq to-file (expand-file-name to-file default-directory))
(message "Writing messages to %s..." to-file)
(while (< message-count rmail-total-messages)
(rmail-show-message