mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-05 05:21:26 -08:00
Fix close timer randomly kicking in
when you take too long to decide
This commit is contained in:
parent
b353cd2a35
commit
515ed1df96
1 changed files with 2 additions and 0 deletions
|
|
@ -130,6 +130,8 @@ Finally, show the buffer."
|
|||
(let ((key (this-single-command-keys)))
|
||||
(if (> (length key) 0)
|
||||
(progn
|
||||
(when which-key--close-timer (cancel-timer which-key--close-timer))
|
||||
(which-key/hide-buffer)
|
||||
(let ((buf (current-buffer))
|
||||
(key-str-qt (regexp-quote (key-description key)))
|
||||
(bottom-or-top (member which-key-buffer-position '(top bottom)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue