diff --git a/modules/tools/eshell/autoload/eshell.el b/modules/tools/eshell/autoload/eshell.el index 059d0fba4..33e36842b 100644 --- a/modules/tools/eshell/autoload/eshell.el +++ b/modules/tools/eshell/autoload/eshell.el @@ -134,7 +134,6 @@ module to be loaded." (defun +eshell|init () "Keep track of eshell buffers." (let ((buf (current-buffer))) - (remove-hook 'kill-buffer-query-functions #'doom|protect-visible-buffers t) (dolist (buf (ring-elements +eshell-buffers)) (unless (buffer-live-p buf) (+eshell--remove-buffer buf)))