Fix void-variable after-focus-change-function error
The condition was the wrong way around.
This commit is contained in:
parent
daa05eb7f2
commit
57020cdfdb
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@
|
|||
(add-hook 'window-configuration-change-hook #'+doom-modeline|set-selected-window)
|
||||
(add-hook 'doom-enter-window-hook #'+doom-modeline|set-selected-window)
|
||||
(with-no-warnings
|
||||
(cond ((boundp 'after-focus-change-function)
|
||||
(cond ((not (boundp 'after-focus-change-function))
|
||||
(add-hook 'focus-in-hook #'+doom-modeline|set-selected-window)
|
||||
(add-hook 'focus-out-hook #'+doom-modeline|unset-selected-window))
|
||||
((defun +doom-modeline|refresh-frame ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue