diff options
| -rw-r--r-- | lisp/files.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index a10c067cf71..974d39ceee9 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -436,8 +436,9 @@ and toggle it if ARG is `toggle'." | |||
| 436 | auto-save-visited-interval :repeat | 436 | auto-save-visited-interval :repeat |
| 437 | #'save-some-buffers :no-prompt | 437 | #'save-some-buffers :no-prompt |
| 438 | (lambda () | 438 | (lambda () |
| 439 | (not (and buffer-auto-save-file-name | 439 | (and buffer-file-name |
| 440 | auto-save-visited-file-name))))))) | 440 | (not (and buffer-auto-save-file-name |
| 441 | auto-save-visited-file-name)))))))) | ||
| 441 | 442 | ||
| 442 | ;; The 'set' part is so we don't get a warning for using this variable | 443 | ;; The 'set' part is so we don't get a warning for using this variable |
| 443 | ;; above, while still catching code that _sets_ the variable to get | 444 | ;; above, while still catching code that _sets_ the variable to get |