[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe c9a7331 143/195: handle ivy-display-functi
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe c9a7331 143/195: handle ivy-display-function |
Date: |
Sat, 3 Oct 2020 07:12:02 -0400 (EDT) |
branch: externals/ivy-posframe
commit c9a7331ee44e32d5f1fc3c392ec138f41961532e
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
handle ivy-display-function
---
ivy-posframe.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index ef86418..e2897a3 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -518,13 +518,15 @@ selection, non-nil otherwise."
([remap ivy-avy] ivy-posframe-avy)
([remap swiper-avy] ivy-posframe-swiper-avy))
(let ((advices ivy-posframe-advice-alist))
- (if ivy-posframe-mode
+ (if ivy-display-function
+ (message "ivy-posframe: `ivy-display-function' is used, so
ivy-posframe-mode can not enable.")
+ (if ivy-posframe-mode
+ (mapcar (lambda (elm)
+ (advice-add (car elm) :around (cdr elm)))
+ advices)
(mapcar (lambda (elm)
- (advice-add (car elm) :around (cdr elm)))
- advices)
- (mapcar (lambda (elm)
- (advice-remove (car elm) (cdr elm)))
- advices))))
+ (advice-remove (car elm) (cdr elm)))
+ advices)))))
;;;###autoload
(defun ivy-posframe-enable ()
- [elpa] externals/ivy-posframe 187288c 167/195: accept declare form, (continued)
- [elpa] externals/ivy-posframe 187288c 167/195: accept declare form, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d9ceee9 181/195: Fix: Regression : not usable with tty and gui emacsen under same daemon #69, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe aadadf1 185/195: Merge pull request #73 from tttuuu888/work-issue-71-2, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 85f2f7a 184/195: Fix for prompt line duplicated issue in another way. #71, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 61cb32e 192/195: Fix swiper-avy and ivy-posframe are having trouble #80, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ad83ce5 189/195: Merge pull request #79 from xeijin/patch-1, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 4474956 194/195: let ivy-posframe-swiper-avy work when do not use ivy-posframe function, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 556c9a9 161/195: Check (display-graphic-p) dynamically in advices, Feng Shu, 2020/10/03
- [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 <=
- [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, 2020/10/03
- [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