[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 8624418 123/195: add ivy-posframe--display
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 8624418 123/195: add ivy-posframe--display-function-prop advice |
Date: |
Sat, 3 Oct 2020 07:11:58 -0400 (EDT) |
branch: externals/ivy-posframe
commit 86244187bc993abe8e63aa6f9b59d949997a7e2c
Author: conao3 <conao3@gmail.com>
Commit: conao3 <conao3@gmail.com>
add ivy-posframe--display-function-prop advice
---
ivy-posframe.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 104e700..3003090 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -471,6 +471,14 @@ selection, non-nil otherwise."
(insert prompt " \n")
(add-text-properties point (1+ point) '(face
ivy-posframe-cursor)))))))
+(defun ivy-posframe--display-function-prop (fn &rest args)
+ "Around advice of FN with ARGS."
+ (let ((ivy-display-functions-props
+ (append ivy-display-functions-props
+ (mapcar (lambda (elm) `(,elm :cleanup ivy-posframe-cleanup))
+ ivy-posframe-display-function-list))))
+ (apply fn args)))
+
(defun ivy-posframe--height (fn &rest args)
"Around advide of FN with ARGS."
(let ((ivy-height-alist
@@ -496,6 +504,7 @@ 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)))
- [elpa] externals/ivy-posframe 46b4089 081/195: Merge pull request #33 from conao3/issue/remove-top-level-setup-executing, (continued)
- [elpa] externals/ivy-posframe 46b4089 081/195: Merge pull request #33 from conao3/issue/remove-top-level-setup-executing, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f5da408 157/195: remove ivy-display-function, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe c9a7331 143/195: handle ivy-display-function, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 45dc8ee 137/195: Remove ivy-posframe-demo, ivy-posframe-mode can do same job, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 9872f35 135/195: Merge pull request #43 from conao3/ivy-posframe-mode, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7e33255 134/195: not use macro, write all form, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 2a97933 155/195: Fix for `Error in post-command-hook ...`, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7be71b6 126/195: fix align, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3433b00 077/195: Merge pull request #29 from CeleritasCelery/recursive-fix, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d13ad21 111/195: fix argument issue, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8624418 123/195: add ivy-posframe--display-function-prop advice,
Feng Shu <=
- [elpa] externals/ivy-posframe 4e95a48 108/195: fix display function declaration by display-functions-alist, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d58350c 172/195: make ivy-posframe-buffer as defcustom variable and set setter, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7f60e8c 112/195: define ivy-posframe-display-function-list, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe c654366 160/195: Merge pull request #51 from conao3/simplify-get-position, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3df0c29 168/195: Merge pull request #56 from conao3/create-defun-advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f264470 164/195: use ivy-posframe--defun-advice instead of defun, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe a489cd8 131/195: use varid function name, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe cc64ed6 115/195: extend display-functions-alist to configure-alist, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e500f69 188/195: try and fix issues with posframe, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d539ac2 195/195: version 0.2.0, Feng Shu, 2020/10/03