diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-07-21 23:34:33 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-07-21 23:34:33 +0000 |
commit | a4f6970146a1c329acba6e4301a713af85314841 (patch) | |
tree | 50c55817710c92f0d203fa846356287e4af3e520 /lisp/mail/rmailedit.el | |
parent | 090101cf91c7cefe8bd006b4a337cbcaa212ccc8 (diff) | |
download | emacs-a4f6970146a1c329acba6e4301a713af85314841.tar.gz |
* mail/rmailedit.el (rmail-edit-mode): Use auto-save-include-big-deletions.
* mail/rmail.el (rmail-variables): Use auto-save-include-big-deletions.
* files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16 changes.
Diffstat (limited to 'lisp/mail/rmailedit.el')
-rw-r--r-- | lisp/mail/rmailedit.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el index f63e6870a8f..d350c29006b 100644 --- a/lisp/mail/rmailedit.el +++ b/lisp/mail/rmailedit.el @@ -64,6 +64,10 @@ This function runs the hooks `text-mode-hook' and `rmail-edit-mode-hook'. (if (boundp 'mode-line-modified) (setq mode-line-modified (default-value 'mode-line-modified)) (setq mode-line-format (default-value 'mode-line-format))) + ;; Don't turn off auto-saving based on the size of the buffer + ;; because that code does not understand buffer-swapping. + (make-local-variable 'auto-save-include-big-deletions) + (setq auto-save-include-big-deletions t) ;; If someone uses C-x C-s, don't clobber the rmail file (bug#2625). (add-hook 'write-region-annotate-functions 'rmail-write-region-annotate nil t) |