mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Trigger switch-buffer hooks on pop-to-buffer
This commit is contained in:
@ -360,7 +360,8 @@ from the default."
|
|||||||
(advice-add #'select-frame :around #'doom*switch-frame-hooks)
|
(advice-add #'select-frame :around #'doom*switch-frame-hooks)
|
||||||
(advice-add #'select-window :around #'doom*switch-window-hooks)
|
(advice-add #'select-window :around #'doom*switch-window-hooks)
|
||||||
(advice-add #'switch-to-buffer :around #'doom*switch-buffer-hooks)
|
(advice-add #'switch-to-buffer :around #'doom*switch-buffer-hooks)
|
||||||
(advice-add #'display-buffer :around #'doom*switch-buffer-hooks))
|
(advice-add #'display-buffer :around #'doom*switch-buffer-hooks)
|
||||||
|
(advice-add #'pop-to-buffer :around #'doom*switch-buffer-hooks))
|
||||||
(add-hook 'doom-init-hook #'doom|init-custom-hooks)
|
(add-hook 'doom-init-hook #'doom|init-custom-hooks)
|
||||||
|
|
||||||
(defun doom*load-theme-hooks (theme &rest _)
|
(defun doom*load-theme-hooks (theme &rest _)
|
||||||
|
Reference in New Issue
Block a user