Refactor switch {buffer,window} hooks
This commit is contained in:
parent
05303c0fdb
commit
f18e1c0ea1
2 changed files with 9 additions and 14 deletions
|
@ -63,9 +63,9 @@
|
|||
b (get-buffer-create "b"))
|
||||
(spy-on 'before-hook)
|
||||
(spy-on 'after-hook)
|
||||
(doom|init-switch-hooks))
|
||||
(doom-init-switch-hooks))
|
||||
(after-each
|
||||
(doom|init-switch-hooks 'disable)
|
||||
(doom-init-switch-hooks 'disable)
|
||||
(kill-buffer a)
|
||||
(kill-buffer b))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue