From 46225e28304d9baa2ad6a4522c30eb9e3dd03440 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 2 Feb 2018 19:50:37 -0500 Subject: [PATCH] core-ui: fix comment typo --- core/core-ui.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-ui.el b/core/core-ui.el index 2b3d09e37..feb651fab 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -570,7 +570,7 @@ to original `kill-this-buffer'." (advice-add #'kill-this-buffer :around #'doom*switch-to-fallback-buffer-maybe) ;; Don't kill the fallback buffer (add-hook 'kill-buffer-query-functions #'doom|protect-fallback-buffer) - ;; Don't kill buffers that are visible else, only bury them + ;; Don't kill buffers that are visible in another window, only bury them (add-hook 'kill-buffer-query-functions #'doom|protect-visible-buffers) ;; Renames major-modes [pedantry intensifies] (add-hook 'after-change-major-mode-hook #'doom|set-mode-name)