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

This variable is introduced in the latest Emacs and the condition around
it was inverted.
This commit is contained in:
Henrik Lissner 2018-06-17 02:54:14 +02:00
parent 41bac99a5f
commit d822560b34
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-after-switch-window-hook #'+doom-modeline|set-selected-window)
(if (boundp 'after-focus-change-function)
(if (not (boundp 'after-focus-change-function))
(progn
(add-hook 'focus-in-hook #'+doom-modeline|set-selected-window)
(add-hook 'focus-out-hook #'+doom-modeline|unset-selected-window))