mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* 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.
This commit is contained in:
parent
090101cf91
commit
a4f6970146
4 changed files with 19 additions and 3 deletions
|
|
@ -5005,7 +5005,7 @@ With prefix argument ARG, turn auto-saving on if positive, else off."
|
|||
(or (not buffer-auto-save-file-name)
|
||||
;; If auto-save is off because buffer has shrunk,
|
||||
;; then toggling should turn it on.
|
||||
(= buffer-saved-size -1))
|
||||
(< buffer-saved-size 0))
|
||||
(or (eq arg t) (listp arg) (and (integerp arg) (> arg 0))))
|
||||
(if (and buffer-file-name auto-save-visited-file-name
|
||||
(not buffer-read-only))
|
||||
|
|
@ -5013,7 +5013,7 @@ With prefix argument ARG, turn auto-saving on if positive, else off."
|
|||
(make-auto-save-file-name))))
|
||||
;; If -1 was stored here, to temporarily turn off saving,
|
||||
;; turn it back on.
|
||||
(and (= buffer-saved-size -1)
|
||||
(and (< buffer-saved-size 0)
|
||||
(setq buffer-saved-size 0))
|
||||
(if (interactive-p)
|
||||
(message "Auto-save %s (in this buffer)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue