I am not sure what the setting + removing hook code in use-package! winner was trying to accomplish, but it was breaking winner-redo functionality. This patch fixes the issue.
This commit is contained in:
parent
7ac688dcd6
commit
9f5ae41037
1 changed files with 1 additions and 2 deletions
|
@ -450,10 +450,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||
|
||||
(use-package! winner
|
||||
;; undo/redo changes to Emacs' window layout
|
||||
:hook (window-configuration-change . winner-mode)
|
||||
:preface (defvar winner-dont-bind-my-keys t) ; I'll bind keys myself
|
||||
:config
|
||||
(remove-hook 'window-configuration-change #'winner-mode)
|
||||
(add-hook 'doom-first-buffer-hook #'winner-mode)
|
||||
(appendq! winner-boring-buffers
|
||||
'("*Compile-Log*" "*inferior-lisp*" "*Fuzzy Completions*"
|
||||
"*Apropos*" "*Help*" "*cvs*" "*Buffer List*" "*Ibuffer*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue