[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe f032c58 124/195: remove overwrite ivy vari
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe f032c58 124/195: remove overwrite ivy variable code |
Date: |
Sat, 3 Oct 2020 07:11:58 -0400 (EDT) |
branch: externals/ivy-posframe
commit f032c5805478717ee57933f499545f514ede1f6f
Author: conao3 <conao3@gmail.com>
Commit: conao3 <conao3@gmail.com>
remove overwrite ivy variable code
---
ivy-posframe.el | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 3003090..4a631cb 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -519,22 +519,14 @@ selection, non-nil otherwise."
([remap ivy-dispatching-done] ivy-posframe-dispatching-done)
([remap ivy-avy] ivy-posframe-avy)
([remap swiper-avy] ivy-posframe-swiper-avy))
- (let ((fncs ivy-posframe-display-function-list)
- (advs ivy-posframe-advice-alist)
- (configures ivy-posframe-configure-alist))
+ (let ((advices ivy-posframe-advice-alist))
(if ivy-posframe-mode
(eval
`(progn
- ,@(mapcan
- (lambda (conf) (mapcar (lambda (elm) `(push ',elm ,(car conf)))
(cdr conf))) configures)
- ,@(mapcar (lambda (elm) `(push '(,elm :cleanup
ivy-posframe-cleanup) ivy-display-functions-props)) fncs)
- ,@(mapcar (lambda (elm) `(advice-add ',(car elm) :around #',(cdr
elm))) advs)))
+ ,@(mapcar (lambda (elm) `(advice-add ',(car elm) :around #',(cdr
elm))) advices)))
(eval
`(progn
- ,@(mapcan
- (lambda (conf) (mapcar (lambda (elm) `(setq ,(car conf) (remove
',elm ,(car conf)))) (cdr conf))) configures)
- ,@(mapcar (lambda (elm) `(push '(,elm :cleanup ignore)
ivy-display-functions-props)) fncs)
- ,@(mapcar (lambda (elm) `(advice-remove ',(car elm) #',(cdr elm)))
advs))))))
+ ,@(mapcar (lambda (elm) `(advice-remove ',(car elm) #',(cdr elm)))
advices))))))
;;;###autoload
(defun ivy-posframe-demo ()
- [elpa] externals/ivy-posframe 0a8cb5a 101/195: fix advice function style, (continued)
- [elpa] externals/ivy-posframe 0a8cb5a 101/195: fix advice function style, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 441c1bf 150/195: Fix First line disappears with the specific condition. #47, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe dddbd8b 139/195: Remove ivy-posframe-display-function-list, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe b6afaf7 129/195: generate, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 19cc919 110/195: use function-alist instead of display-functions, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe ca2b6db 106/195: add disable mode code, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe e27b2b7 141/195: Remove ivy-posframe-additional-display-functions, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe b23cd5c 133/195: remove eval form, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0032ed4 130/195: define define-display-function macro instead of eval form, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 36cae42 102/195: use ivy-posframe-advice-alist to apply advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f032c58 124/195: remove overwrite ivy variable code,
Feng Shu <=
- [elpa] externals/ivy-posframe 9dcdd80 121/195: add ivy--height advice, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 7567182 136/195: let ivy-posframe-enable = (ivy-posframe-mode 1), Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe df179ec 128/195: refine readme, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 590c224 175/195: Fix previous commit, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 112655b 179/195: Add a window/frame top center position option #61, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 57c53ef 173/195: Merge pull request #59 from conao3/fix-ivy-buffer-missing, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1794866 170/195: not use let variable to make code simple, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 65bc90d 151/195: fix minor mode option, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 2f2c7f6 154/195: Merge pull request #48 from tttuuu888/work-list, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 187288c 167/195: accept declare form, Feng Shu, 2020/10/03