do not set this dired-sidebar-mode-hook

i don't use auto-revert-mode anyway
This commit is contained in:
Gered 2024-12-04 22:40:04 -05:00
parent 69d8b05a43
commit 6693d615f9

View file

@ -45,11 +45,6 @@
:bind
(("C-x C-n" . dired-sidebar-toggle-sidebar))
:commands (dired-sidebar-toggle-sidebar)
:init
(add-hook 'dired-sidebar-mode-hook
(lambda ()
(unless (file-remote-p default-directory)
(auto-revert-mode))))
:config
(push 'toggle-window-split dired-sidebar-toggle-hidden-commands)
(push 'rotate-windows dired-sidebar-toggle-hidden-commands)