branch: externals/ivy-posframe
commit 254623810f64b8bd06820211a70d44add37f14b4
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
reuse minibuffer's ivy prompt
---
ivy-posframe.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 2bd30b4..f3c69ae 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -109,7 +109,9 @@ Using current frame's font if it it nil."
(posframe-show
ivy-posframe-buffer
:font ivy-posframe-font
- :string (concat ivy--prompt ivy-text str)
+ :string
+ (with-current-buffer (get-buffer-create " *Minibuf-1*")
+ (concat (buffer-string) " " str))
:position (point)
:poshandler (cdr (assq ivy-posframe-style
ivy-posframe-style-alist))