Rename doom-before-switch-*-hook hooks
+ doom-before-switch-buffer-hook => doom-exit-buffer-hook + doom-before-switch-window-hook => doom-exit-window-hook + doom-after-switch-buffer-hook => doom-enter-buffer-hook + doom-after-switch-window-hook => doom-enter-window-hook Shorter, easier-to-type names that better describe their intended purpose. The old names are still usable, but deprecated.
This commit is contained in:
parent
1dc43f9770
commit
81ffed520b
6 changed files with 29 additions and 25 deletions
|
@ -129,7 +129,7 @@ Possible values:
|
|||
(add-hook 'window-configuration-change-hook #'+doom-dashboard|resize)
|
||||
(add-hook 'window-size-change-functions #'+doom-dashboard|resize)
|
||||
(add-hook 'kill-buffer-query-functions #'+doom-dashboard|reload-on-kill)
|
||||
(add-hook 'doom-after-switch-buffer-hook #'+doom-dashboard|reload-on-kill)
|
||||
(add-hook 'doom-enter-buffer-hook #'+doom-dashboard|reload-on-kill)
|
||||
(unless (daemonp)
|
||||
(add-hook 'after-make-frame-functions #'+doom-dashboard|make-frame))
|
||||
;; `persp-mode' integration: update `default-directory' when switching
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue