branch: master
commit 2f07e509399ade82366b31a688595a12f326b469
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
Account for digit argument
* hydra.el (hydra--clearfun): Update. digit-argument will modify
this-command-keys-vector, but not this-single-command-keys.
Fixes #104
---
hydra.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hydra.el b/hydra.el
index 1397035..0d219e3 100644
--- a/hydra.el
+++ b/hydra.el
@@ -111,7 +111,7 @@ warn: keep KEYMAP and issue a warning instead of running
the command."
keyboard-quit))
(hydra-disable)
(unless (eq this-command
- (lookup-key hydra-curr-map (this-command-keys-vector)))
+ (lookup-key hydra-curr-map (this-single-command-keys)))
(unless (cl-case hydra-curr-foreign-keys
(warn
(setq this-command 'hydra-amaranth-warn))