branch: externals/ivy-hydra
commit 17237990dbb37d1d08ec5a29d6c912a144a49a2a
Author: SeungKi Kim <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>
Fix M-o 'Wrong type argument: characterp' error
Add `M-o` key binding for closing action list.
Copyright-paperwork-exempt: yes
Fixes #2701.
Closes #2757.
---
ivy.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ivy.el b/ivy.el
index 1b32490..0167b41 100644
--- a/ivy.el
+++ b/ivy.el
@@ -853,9 +853,9 @@ 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 (key-description (string (read-key hint))))))
+ (setq key (concat key (key-description (vector (read-key hint))))))
(ivy-shrink-after-dispatching)
- (cond ((member key '("ESC" "C-g"))
+ (cond ((member key '("ESC" "C-g" "M-o"))
nil)
((null action-idx)
(message "%s is not bound" key)