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

Use real-last-command instead of last-command

for which-key-show-next-page
This commit is contained in:
justbur 2015-07-22 08:29:22 -04:00
parent 060e2a2329
commit 7a30c1e527

View file

@ -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))))))))