diff lisp/files.el @ 103918:74a905fff633

* files.el (auto-save-mode): If buffer-saved-size is -2, don't clobber it. * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2. (rmail-retry-ignored-headers): Add more uninteresting fields.
author Richard M. Stallman <rms@gnu.org>
date Thu, 16 Jul 2009 01:52:32 +0000
parents 9c7b00651e7c
children 73a2130eb104
line wrap: on
line diff
--- a/lisp/files.el	Thu Jul 16 01:45:08 2009 +0000
+++ b/lisp/files.el	Thu Jul 16 01:52:32 2009 +0000
@@ -4996,7 +4996,7 @@
 	       (make-auto-save-file-name))))
   ;; If -1 was stored here, to temporarily turn off saving,
   ;; turn it back on.
-  (and (< buffer-saved-size 0)
+  (and (= buffer-saved-size -1)
        (setq buffer-saved-size 0))
   (if (interactive-p)
       (message "Auto-save %s (in this buffer)"