From b96481da28df1e9c54ed5075fcdec56fc2be1144 Mon Sep 17 00:00:00 2001 From: Iqbal Ansari Date: Fri, 2 Oct 2015 17:02:25 +0530 Subject: [PATCH] Run `which-key--hide-popup` in post-command-hook also --- which-key.el | 1 + 1 file changed, 1 insertion(+) diff --git a/which-key.el b/which-key.el index 524517cae28..b0d50991ecf 100644 --- a/which-key.el +++ b/which-key.el @@ -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))