branch: externals/ivy-posframe
commit 187d14b3567c1b9d1cde0bbcd7308c30f068f85e
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy-posframe.el (ivy-posframe--display): Simplify
Try to avoid using `ivy--*' functions.
---
ivy-posframe.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 0a323d1..f8675e1 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -178,7 +178,7 @@ This variable is useful for `ivy-posframe-read-action' .")
"Show STR in ivy's posframe."
(if (not (ivy-posframe-workable-p))
(ivy-display-function-fallback str)
- (with-selected-window (ivy--get-window ivy-last)
+ (with-ivy-window
(posframe-show
ivy-posframe-buffer
:font ivy-posframe-font