diff options
| author | Philipp Stephani | 2018-03-31 12:26:30 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2018-04-02 12:18:39 +0200 |
| commit | 1e6f09aa72fbdfc9246bcb85bc69a624c0efcfdf (patch) | |
| tree | 0ac8c2fefc4b1c93ab1313d64bf94d4a410417a7 /lisp | |
| parent | eb8b13fc01e9ec1471e473a7f3e9636de8542817 (diff) | |
| download | emacs-1e6f09aa72fbdfc9246bcb85bc69a624c0efcfdf.tar.gz emacs-1e6f09aa72fbdfc9246bcb85bc69a624c0efcfdf.zip | |
* files.el (auto-save-visited-mode): Don't prompt for filenames.
Diffstat (limited to 'lisp')
| -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 |