diff options
| author | conao3 <conao3@gmail.com> | 2019-07-03 07:20:23 +0900 |
|---|---|---|
| committer | conao3 <conao3@gmail.com> | 2019-07-03 07:20:23 +0900 |
| commit | 2f1fdbe7bf4fab3388afaa7e52b3b0a7761d9d0a (patch) | |
| tree | 7cd1ebc3e7b85004dbbb6284bffb4597efa6354e | |
| parent | 3df0c29106a1507d6121393c0478b037656fdc71 (diff) | |
use mapc instead of mapcar
| -rw-r--r-- | ivy-posframe.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ivy-posframe.el b/ivy-posframe.el index 8e75bbe..946cc05 100644 --- a/ivy-posframe.el +++ b/ivy-posframe.el @@ -555,10 +555,10 @@ The return value is undefined. ([remap ivy-dispatching-done] . ivy-posframe-dispatching-done)) (let ((advices ivy-posframe-advice-alist)) (if ivy-posframe-mode - (mapcar (lambda (elm) + (mapc (lambda (elm) (advice-add (car elm) :around (cdr elm))) advices) - (mapcar (lambda (elm) + (mapc (lambda (elm) (advice-remove (car elm) (cdr elm))) advices)))) |
