[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 1b5db75 145/195: Do not warn when ivy-disp
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 1b5db75 145/195: Do not warn when ivy-display-function is not nil |
Date: |
Sat, 3 Oct 2020 07:12:02 -0400 (EDT) |
branch: externals/ivy-posframe
commit 1b5db75834e128c45e5d79e4cc5dc6e78db2fc55
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Do not warn when ivy-display-function is not nil
---
ivy-posframe.el | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 203674f..2a26eeb 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -519,15 +519,13 @@ 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-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)
+ (if ivy-posframe-mode
(mapcar (lambda (elm)
- (advice-remove (car elm) (cdr elm)))
- advices)))))
+ (advice-add (car elm) :around (cdr elm)))
+ advices)
+ (mapcar (lambda (elm)
+ (advice-remove (car elm) (cdr elm)))
+ advices))))
;;;###autoload
(defun ivy-posframe-enable ()
- [elpa] externals/ivy-posframe 6de9801 097/195: remove unneeded ivy require code, (continued)
- [elpa] externals/ivy-posframe 6de9801 097/195: remove unneeded ivy require code, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe a7fe06e 098/195: fix addition ivy-display-function-props, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3aabf14 085/195: ivy-posframe-demo: let it toggle, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e6f4e1c 088/195: Fix ""ivy-posframe-font seems take no effect." #36, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d5dd254 075/195: Update README, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d29f788 089/195: Again fix ivy-posframe-font seems take no effect. #36, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe fd9c072 090/195: requires ivy v0.11.0, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0c2bf2c 095/195: Fix2 "ivy-posframe copies prompt text as kill" #41, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d15c352 165/195: remove ivy-posframe--poframe-p-advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 10fd5c1 148/195: Fix `ivy-dispatching-done` is not working #45, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1b5db75 145/195: Do not warn when ivy-display-function is not nil,
Feng Shu <=
- [elpa] externals/ivy-posframe 92e09f2 153/195: Merge pull request #44 from conao3/fix-minor-mode-option, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d57087e 116/195: add additional-display-functions custom variable, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1a7f2f0 107/195: move ivy-posframe-display-functions to variables section, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 95c1028 177/195: ivy-display-function -> ivy--display-function, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe aae7322 119/195: use ivy-posframe-mode-map instead of define-key, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 35d47bd 117/195: refine document, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7dc84ee 152/195: Fix2 First line disappears with the specific condition. #47, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d35af4f 144/195: handle ivy-display-function again, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8902638 100/195: define ivy-posframe-adbice-alist, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 212eaa1 138/195: indent ivy-posframe-mode, Feng Shu, 2020/10/03