Replace :defer HOOK/FN with :after-call keyword

This commit is contained in:
Henrik Lissner 2018-05-20 20:07:15 +02:00
parent 89c52e7d99
commit 1369c51000
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 48 additions and 23 deletions

View file

@ -290,13 +290,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-before-switch-window-hook
:after-call 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 doom-before-switch-buffer-hook
:after-call doom-before-switch-buffer-hook
:config
(setq show-paren-delay 0.1
show-paren-highlight-openparen t