summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortumashu <tumashu@163.com>2019-09-28 05:54:28 +0000
committerGitHub <noreply@github.com>2019-09-28 05:54:28 +0000
commit81f2ea14ddbdd4b840f18dd13ad3e30a6b791b4a (patch)
tree4cca5432a6550f6c9ecff919e91d83101a1cd43e
parentaadadf1359fdd3f2cc83b4980503a50c2c0c0319 (diff)
parent51d753544ea35c035c45420c3075933a2fe83ffd (diff)
Merge pull request #74 from tttuuu888/work-issue-71-3
Remove prompt replication in different approach. #71
-rw-r--r--ivy-posframe.el4
1 files 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)))