diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-01-24 23:32:31 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-01-24 23:32:31 +0000 |
commit | a538e583cabbee47bba3e650e3fb795b65bad200 (patch) | |
tree | c96586ac9e3b91138eaca34f1f912ce1fdc72172 /lisp/mail/unrmail.el | |
parent | 5246db4e1f0626faa0209b225cfb9a89f72065a4 (diff) | |
download | emacs-a538e583cabbee47bba3e650e3fb795b65bad200.tar.gz |
(unrmail): Default the directory of TO-FILE based on FILE.
Diffstat (limited to 'lisp/mail/unrmail.el')
-rw-r--r-- | lisp/mail/unrmail.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/unrmail.el b/lisp/mail/unrmail.el index 9bf009fe43c..05fe04899af 100644 --- a/lisp/mail/unrmail.el +++ b/lisp/mail/unrmail.el @@ -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 |