Commit 913126a6 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(rmail-output-to-rmail-file): When copying to a buffer,

maybe enable auto save in that buffer.
parent 876cd689
......@@ -122,6 +122,11 @@ starting with the current one. Deleted messages are skipped and don't count."
;; If MSG is non-nil, buffer is in RMAIL mode.
(if msg
(progn
;; Turn on auto save mode, if it's off in this
;; buffer but enabled by default.
(and (not buffer-auto-save-file-name)
auto-save-default
(auto-save-mode t))
(rmail-maybe-set-message-counters)
(widen)
(narrow-to-region (point-max) (point-max))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment