Fix void-variable after-focus-change-function error

The condition was the wrong way around.
This commit is contained in:
Henrik Lissner 2018-07-04 21:26:20 +02:00
parent daa05eb7f2
commit 57020cdfdb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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 ()