branch: externals/ivy-posframe
commit 51d753544ea35c035c45420c3075933a2fe83ffd
Author: SeungKi Kim <[email protected]>
Commit: SeungKi Kim <[email protected]>
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)))