branch: externals/ivy-posframe
commit 2eee01f0a46c576696ca1c9479a1fc85a58496d5
Author: conao3 <[email protected]>
Commit: conao3 <[email protected]>

    remove unneeded progn
---
 ivy-posframe.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 53ca92e..9627cd4 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -549,12 +549,10 @@ The return value is undefined.
   (let ((advices ivy-posframe-advice-alist))
     (if ivy-posframe-mode
         (mapcar (lambda (elm)
-                  (progn
-                    (advice-add (car elm) :around (cdr elm))))
+                  (advice-add (car elm) :around (cdr elm)))
                 advices)
       (mapcar (lambda (elm)
-                (progn
-                  (advice-remove (car elm) (cdr elm))))
+                (advice-remove (car elm) (cdr elm)))
               advices))))
 
 ;;;###autoload

Reply via email to