A buffer focus hook for Emacs
License
mschuldt/buffer-focus-hook
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The buffer focus hook provides a simple mechanism for reacting to buffer focus changes. Similar to focus-in-hook and focus-out-hook but for buffers instead of windows. Example: (defun focus-in () (message "Buffer gained focus!")) (defun focus-out () (message "Buffer lost focus") t) ;; set the buffer focus hooks for the current buffer: (buffer-focus-in-callback 'focus-in) (buffer-focus-out-callback 'focus-out)
About
A buffer focus hook for Emacs
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published