[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 42277bf 2/3: Merge pull request #104 from
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 42277bf 2/3: Merge pull request #104 from tttuuu888/work-issue-103 |
Date: |
Sun, 13 Dec 2020 19:45:38 -0500 (EST) |
branch: externals/ivy-posframe
commit 42277bf5f98de613d2d21fd3684935b757cca8d9
Merge: 08a00b8 de96ed6
Author: tumashu <tumashu@163.com>
Commit: GitHub <noreply@github.com>
Merge pull request #104 from tttuuu888/work-issue-103
Fix to properly exit the action list #103
---
ivy-posframe.el | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 555fc6e..f9e59b6 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -361,15 +361,16 @@ This variable is useful for `ivy-posframe-read-action' .")
(string-prefix-p key (car x)))
(cdr actions)))
(not (string= key (car (nth action-idx (cdr actions))))))
- (setq key (concat key (string
- (read-key
- (if (functionp display-function)
- (let ((ivy-posframe--ignore-prompt t))
- (funcall display-function hint)
- "Please type a key: ")
- hint))))))
+ (setq key (concat key (key-description
+ (vector
+ (read-key
+ (if (functionp display-function)
+ (let ((ivy-posframe--ignore-prompt t))
+ (funcall display-function hint)
+ "Please type a 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)