From 4863f9fbf00161f7cf55cbaa86d4b5361f3573cf Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 28 May 2018 17:31:44 +0200 Subject: [PATCH] Fix after! macro with multiple features --- core/core-lib.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))))))