summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 10970aa7d78..0c4edf63363 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -4996,7 +4996,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 0)
+ (and (= buffer-saved-size -1)
(setq buffer-saved-size 0))
(if (interactive-p)
(message "Auto-save %s (in this buffer)"