emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 2546238 016/195: reuse minibuffer's ivy pr


From: Feng Shu
Subject: [elpa] externals/ivy-posframe 2546238 016/195: reuse minibuffer's ivy prompt
Date: Sat, 3 Oct 2020 07:11:36 -0400 (EDT)

branch: externals/ivy-posframe
commit 254623810f64b8bd06820211a70d44add37f14b4
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]