1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-01 19:30:45 -08:00

Run which-key--hide-popup in post-command-hook also

This commit is contained in:
Iqbal Ansari 2015-10-02 17:02:25 +05:30
parent 9493f2c425
commit b96481da28

View file

@ -384,6 +384,7 @@ alongside the actual current key sequence when
(when which-key-show-remaining-keys
(add-hook 'pre-command-hook #'which-key--lighter-restore))
(add-hook 'pre-command-hook #'which-key--hide-popup)
(add-hook 'post-command-hook #'which-key--hide-popup)
(add-hook 'focus-out-hook #'which-key--stop-timer)
(add-hook 'focus-in-hook #'which-key--start-timer)
(which-key--start-timer))