# HG changeset patch # User Richard M. Stallman # Date 756704593 0 # Node ID a74ffe260236eda25ed697e7da1520bd3b4f1e67 # Parent bd122ee8c338a611cd4a95bdfc11241393067eb1 (rmail-output-to-rmail-file): When copying to a buffer, maybe enable auto save in that buffer. diff -r bd122ee8c338 -r a74ffe260236 lisp/mail/rmailout.el --- a/lisp/mail/rmailout.el Fri Dec 24 03:40:42 1993 +0000 +++ b/lisp/mail/rmailout.el Fri Dec 24 03:43:13 1993 +0000 @@ -122,6 +122,11 @@ ;; 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))