summaryrefslogtreecommitdiff
path: root/desktop-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-01-12 22:49:08 +0800
committerJSDurand <mmemmew@gmail.com>2022-01-13 21:50:18 +0800
commit249de03acdc876eade36b873766dc176584dbab3 (patch)
treec01bc921975b865b2bbaff35a30330afd4f0b4eb /desktop-conf.el
parent1f6ce7201597b84c646280ca7fe838498319c3be (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 'desktop-conf.el')
0 files changed, 0 insertions, 0 deletions