Stop auto-revert prompting for confirmation

I misunderstood revert-without-query.
This commit is contained in:
Henrik Lissner 2019-10-14 18:43:40 -04:00
parent 51973dca9b
commit 88af741597
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -146,7 +146,7 @@ possible."
(defun doom-auto-revert-buffer-h ()
"Auto revert current buffer, if necessary."
(unless auto-revert-mode
(let ((revert-without-query t))
(let ((revert-without-query (list ".")))
(auto-revert-handler))))
(defun doom-auto-revert-buffers-h ()