[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 61ff941: Fix: ivy-posframe disappear in a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ivy-posframe 61ff941: Fix: ivy-posframe disappear in a flash after ivy-posframe-avy #114 |
Date: |
Mon, 20 Sep 2021 23:57:17 -0400 (EDT) |
branch: externals/ivy-posframe
commit 61ff9418493159001f096ea3a9441093a8951629
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix: ivy-posframe disappear in a flash after ivy-posframe-avy #114
---
ivy-posframe.el | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 030662f..7b17cad 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -292,7 +292,11 @@ This variable is useful for `ivy-posframe-read-action' .")
(defun ivy-posframe-hidehandler (_)
"Hidehandler used by ivy-posframe."
- (not (minibufferp)))
+ (and (not (minibufferp))
+ ;; Note: when run ivy-avy, buffer will be temp changed, make
+ ;; sure do not autohide posframe at this situation.
+ ;; More detail: https://github.com/tumashu/ivy-posframe/issues/114
+ (not (equal (current-buffer) (window-buffer (ivy-posframe--window))))))
(defun ivy-posframe-get-size ()
"The default functon used by `ivy-posframe-size-function'."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/ivy-posframe 61ff941: Fix: ivy-posframe disappear in a flash after ivy-posframe-avy #114,
ELPA Syncer <=