diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/files.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 581c20fcf65..77dd24db798 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-07-21 Richard Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * files.el (auto-save-mode): Handle buffer-save-size = -2 | ||
| 4 | for toggling mode. | ||
| 5 | |||
| 1 | 2009-07-21 Glenn Morris <rgm@gnu.org> | 6 | 2009-07-21 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * textmodes/ispell.el (ispell-looking-back): Update declaration. | 8 | * textmodes/ispell.el (ispell-looking-back): Update declaration. |
diff --git a/lisp/files.el b/lisp/files.el index d2109215d3e..1528b380ff3 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -5005,7 +5005,7 @@ With prefix argument ARG, turn auto-saving on if positive, else off." | |||
| 5005 | (or (not buffer-auto-save-file-name) | 5005 | (or (not buffer-auto-save-file-name) |
| 5006 | ;; If auto-save is off because buffer has shrunk, | 5006 | ;; If auto-save is off because buffer has shrunk, |
| 5007 | ;; then toggling should turn it on. | 5007 | ;; then toggling should turn it on. |
| 5008 | (< buffer-saved-size 0)) | 5008 | (= buffer-saved-size -1)) |
| 5009 | (or (eq arg t) (listp arg) (and (integerp arg) (> arg 0)))) | 5009 | (or (eq arg t) (listp arg) (and (integerp arg) (> arg 0)))) |
| 5010 | (if (and buffer-file-name auto-save-visited-file-name | 5010 | (if (and buffer-file-name auto-save-visited-file-name |
| 5011 | (not buffer-read-only)) | 5011 | (not buffer-read-only)) |