mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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))
|
||||
|
Reference in New Issue
Block a user