branch: externals/ivy-posframe
commit b23cd5ce9e801d59ffdfe89ce57b4c1391844c42
Author: conao3 <[email protected]>
Commit: conao3 <[email protected]>
remove eval form
---
ivy-posframe.el | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 2c38b26..e534a7d 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -527,12 +527,8 @@ selection, non-nil otherwise."
([remap swiper-avy] ivy-posframe-swiper-avy))
(let ((advices ivy-posframe-advice-alist))
(if ivy-posframe-mode
- (eval
- `(progn
- ,@(mapcar (lambda (elm) `(advice-add ',(car elm) :around #',(cdr
elm))) advices)))
- (eval
- `(progn
- ,@(mapcar (lambda (elm) `(advice-remove ',(car elm) #',(cdr elm)))
advices))))))
+ (mapcar (lambda (elm) (advice-add (car elm) :around (cdr elm)))
advices)
+ (mapcar (lambda (elm) (advice-remove (car elm) (cdr elm))) advices))))
;;;###autoload
(defalias 'ivy-posframe-enable 'ivy-posframe-mode)