[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 1794866 170/195: not use let variable to m
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 1794866 170/195: not use let variable to make code simple |
Date: |
Sat, 3 Oct 2020 07:12:07 -0400 (EDT) |
branch: externals/ivy-posframe
commit 17948666ddcadcb9cba36c5e4492f46784d4a6b5
Author: conao3 <conao3@gmail.com>
Commit: conao3 <conao3@gmail.com>
not use let variable to make code simple
---
ivy-posframe.el | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 946cc05..47249b7 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -553,14 +553,13 @@ The return value is undefined.
([remap swiper-avy] . ivy-posframe-swiper-avy)
([remap ivy-read-action] . ivy-posframe-read-action)
([remap ivy-dispatching-done] . ivy-posframe-dispatching-done))
- (let ((advices ivy-posframe-advice-alist))
- (if ivy-posframe-mode
- (mapc (lambda (elm)
- (advice-add (car elm) :around (cdr elm)))
- advices)
+ (if ivy-posframe-mode
(mapc (lambda (elm)
- (advice-remove (car elm) (cdr elm)))
- advices))))
+ (advice-add (car elm) :around (cdr elm)))
+ ivy-posframe-advice-alist)
+ (mapc (lambda (elm)
+ (advice-remove (car elm) (cdr elm)))
+ ivy-posframe-advice-alist)))
;;;###autoload
(defun ivy-posframe-enable ()
- [elpa] externals/ivy-posframe b23cd5c 133/195: remove eval form, (continued)
- [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, 2020/10/03
- [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 <=
- [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
- [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