From 7a30c1e5274e2b6e527a4891c136acfd4e9b075f Mon Sep 17 00:00:00 2001 From: justbur Date: Wed, 22 Jul 2015 08:29:22 -0400 Subject: [PATCH] Use real-last-command instead of last-command for which-key-show-next-page --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index e128302dcf8..ac2eaa62b45 100644 --- a/which-key.el +++ b/which-key.el @@ -984,7 +984,7 @@ enough space based on your settings and frame size." prefix-keys) (setq timer (run-with-idle-timer 0.1 t (lambda () - (when (not (eq last-command 'which-key-show-next-page)) + (unless (eq real-last-command 'which-key-show-next-page) (cancel-timer timer) (which-key--start-timer))))))))