branch: externals/setup commit 8fd94baa27706203f3ad13368abed8092780c150 Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Fix behaviour of :with-feature when passed a nil feature --- setup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.el b/setup.el index ce3d1e4..91ce235 100644 --- a/setup.el +++ b/setup.el @@ -227,7 +227,7 @@ If not given, it is assumed nothing is evaluated." ,@body)) (macroexp-progn body)) bodies)) - (macroexp-progn (nreverse bodies)))) + (macroexp-progn (if features (nreverse bodies) body)))) :documentation "Change the FEATURE that BODY is configuring. This macro also declares a current mode by appending \"-mode\" to FEATURE, unless it already ends with \"-mode\".