branch: externals/ivy-posframe
commit 81f2ea14ddbdd4b840f18dd13ad3e30a6b791b4a
Merge: aadadf1 51d7535
Author: tumashu <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #74 from tttuuu888/work-issue-71-3
    
    Remove prompt replication in different approach. #71
---
 ivy-posframe.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index c31526b..01e2b5c 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -270,7 +270,8 @@ This variable is useful for `ivy-posframe-read-action' .")
              :internal-border-width ivy-posframe-border-width
              :internal-border-color (face-attribute 'ivy-posframe-border 
:background nil t)
              :override-parameters ivy-posframe-parameters
-             (funcall ivy-posframe-size-function)))))
+             (funcall ivy-posframe-size-function))
+     (ivy-posframe--add-prompt 'ignore))))
 
 (defun ivy-posframe-get-size ()
   "The default functon used by `ivy-posframe-size-function'."
@@ -467,7 +468,6 @@ selection, non-nil otherwise."
 
 (defvar ivy-posframe-advice-alist
   '((ivy--minibuffer-setup      . ivy-posframe--minibuffer-setup)
-    (ivy--queue-exhibit         . ivy-posframe--add-prompt)
     (ivy--display-function-prop . ivy-posframe--display-function-prop)
     (ivy--height                . ivy-posframe--height)
     (ivy-read                   . ivy-posframe--read)))

Reply via email to