-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Hi,
Just to note that the focus in and out hooks seem to be depreciated in 27.1. I think that the after-focus-change-function was only introduced in 27.1 so might need an if on version number to support that.
Note that it still seems to work on 28 but just throws a warning.
New frame focus state inspection interface.
The hooks 'focus-in-hook' and 'focus-out-hook' are now obsolete.
Instead, attach to 'after-focus-change-function' using 'add-function'
and inspect the focus state of each frame using 'frame-focus-state'.
https://www.masteringemacs.org/article/whats-new-in-emacs-27-1
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed