branch: externals/ivy-hydra
commit 32019df7e0f5ba785051519b26173a0a3f895f49
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-read-action-by-key): Allow to read e.g. C-d
Fixes #2411
---
ivy.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ivy.el b/ivy.el
index bd7d90e..f0f02cb 100644
--- a/ivy.el
+++ b/ivy.el
@@ -898,7 +898,7 @@ selection, non-nil otherwise."
(string-prefix-p key (car x)))
(cdr actions)))
(not (string= key (car (nth action-idx (cdr actions))))))
- (setq key (concat key (string (read-key hint)))))
+ (setq key (concat key (key-description (string (read-key hint))))))
(ivy-shrink-after-dispatching)
(cond ((member key '("" ""))
nil)