Stop auto-revert prompting for confirmation
I misunderstood revert-without-query.
This commit is contained in:
parent
51973dca9b
commit
88af741597
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ possible."
|
||||||
(defun doom-auto-revert-buffer-h ()
|
(defun doom-auto-revert-buffer-h ()
|
||||||
"Auto revert current buffer, if necessary."
|
"Auto revert current buffer, if necessary."
|
||||||
(unless auto-revert-mode
|
(unless auto-revert-mode
|
||||||
(let ((revert-without-query t))
|
(let ((revert-without-query (list ".")))
|
||||||
(auto-revert-handler))))
|
(auto-revert-handler))))
|
||||||
|
|
||||||
(defun doom-auto-revert-buffers-h ()
|
(defun doom-auto-revert-buffers-h ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue