diff --git a/core/core-lib.el b/core/core-lib.el index 9e76dc0dc..14e57df0a 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -204,8 +204,8 @@ compilation. This will no-op on features that have been disabled by the user." ((and (consp targets) (memq (car targets) '(:and :all))) (dolist (next (cdr targets)) - (setq body `(after! ,next ,@body))) - body) + (setq body `((after! ,next ,@body)))) + (car body)) ((listp targets) `(after! (:all ,@targets) ,@body))))))