Fix #3723: auto-revert on window/buffer switch
This commit is contained in:
parent
73c95bb1ad
commit
9cab6a6fd9
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,8 @@ 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 (or auto-revert-mode (active-minibuffer-window))
|
(unless (or auto-revert-mode (active-minibuffer-window))
|
||||||
(auto-revert-handler)))
|
(let ((auto-revert-mode t))
|
||||||
|
(auto-revert-handler))))
|
||||||
|
|
||||||
(defun doom-auto-revert-buffers-h ()
|
(defun doom-auto-revert-buffers-h ()
|
||||||
"Auto revert stale buffers in visible windows, if necessary."
|
"Auto revert stale buffers in visible windows, if necessary."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue