+2009-07-21 Richard Stallman <rms@gnu.org>
+
+ * files.el (auto-save-mode): Handle buffer-save-size = -2
+ for toggling mode.
+
2009-07-21 Glenn Morris <rgm@gnu.org>
* textmodes/ispell.el (ispell-looking-back): Update declaration.
(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 0))
+ (= buffer-saved-size -1))
(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))