Rethink core package deferral hooks
Ensure they are available exactly when they can be useful, but no sooner.
This commit is contained in:
parent
97b8c04dbb
commit
c36e127ec5
2 changed files with 6 additions and 6 deletions
|
@ -281,13 +281,13 @@ DEFAULT is non-nil, set the default mode-line for all buffers."
|
|||
|
||||
;; undo/redo changes to Emacs' window layout
|
||||
(def-package! winner
|
||||
:defer doom-after-switch-buffer-hook
|
||||
:defer doom-before-switch-window-hook
|
||||
:preface (defvar winner-dont-bind-my-keys t) ; I'll bind keys myself
|
||||
:config (winner-mode +1))
|
||||
|
||||
;; highlight matching delimiters
|
||||
(def-package! paren
|
||||
:defer pre-command-hook
|
||||
:defer doom-before-switch-buffer-hook
|
||||
:config
|
||||
(setq show-paren-delay 0.1
|
||||
show-paren-highlight-openparen t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue