From 57020cdfdb029dab8c3f4a1d877ffb13e177dbfd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 4 Jul 2018 21:26:20 +0200 Subject: [PATCH] Fix void-variable after-focus-change-function error The condition was the wrong way around. --- modules/ui/doom-modeline/+old.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/doom-modeline/+old.el b/modules/ui/doom-modeline/+old.el index 650128b78..bf73a0863 100644 --- a/modules/ui/doom-modeline/+old.el +++ b/modules/ui/doom-modeline/+old.el @@ -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 ()