core-ui: fix comment typo

This commit is contained in:
Henrik Lissner 2018-02-02 19:50:37 -05:00
parent cbd6bf190a
commit 46225e2830
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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)