diff options
author | JSDurand <mmemmew@gmail.com> | 2022-01-12 22:49:08 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-01-13 21:50:18 +0800 |
commit | 249de03acdc876eade36b873766dc176584dbab3 (patch) | |
tree | c01bc921975b865b2bbaff35a30330afd4f0b4eb /rcirc-conf.el | |
parent | 1f6ce7201597b84c646280ca7fe838498319c3be (diff) |
keycast-conf: Display in the active window
* keycast-conf.el (keycast-window-predicate): Use the function
`modeline-active-window-p' from my custom file "modeline.el" to
determine whether a window is the currently active window, and then
display the key cast information in that active window only.
* modeline.el (modeline-get-active-window, modeline-format-keycast): A
slight refactor.
(modeline-format-keycast): Use bound-and-true-p to test the mode
variable, so as to avoid errors when durand-keycast-mode has not yet
been loaded.
Diffstat (limited to 'rcirc-conf.el')
0 files changed, 0 insertions, 0 deletions