Trigger switch-buffer hooks on pop-to-buffer
This commit is contained in:
parent
4fba57e954
commit
49d431ee4e
1 changed files with 2 additions and 1 deletions
|
@ -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 _)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue