* files.el (auto-save-visited-mode): Don't prompt for filenames.
This commit is contained in:
parent
eb8b13fc01
commit
1e6f09aa72
1 changed files with 3 additions and 2 deletions
|
@ -436,8 +436,9 @@ and toggle it if ARG is `toggle'."
|
|||
auto-save-visited-interval :repeat
|
||||
#'save-some-buffers :no-prompt
|
||||
(lambda ()
|
||||
(not (and buffer-auto-save-file-name
|
||||
auto-save-visited-file-name)))))))
|
||||
(and buffer-file-name
|
||||
(not (and buffer-auto-save-file-name
|
||||
auto-save-visited-file-name))))))))
|
||||
|
||||
;; The 'set' part is so we don't get a warning for using this variable
|
||||
;; above, while still catching code that _sets_ the variable to get
|
||||
|
|
Loading…
Add table
Reference in a new issue