From 23c36a2febbc2ac6d0312d672507e7d0b3b3447c Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 14 Oct 2020 01:37:47 -0400 Subject: [PATCH] Fix wrong-type-arg error on 'doom compile' --- core/core-modules.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core-modules.el b/core/core-modules.el index d0e601b17..6a1f776b2 100644 --- a/core/core-modules.el +++ b/core/core-modules.el @@ -249,8 +249,9 @@ those directories. The first returned path is always `doom-private-dir'." :type 'dirs :mindepth 1 :depth 1))) - (cl-loop for plist being the hash-values of doom-modules - collect (plist-get plist :path))) + (delq + nil (cl-loop for plist being the hash-values of doom-modules + collect (plist-get plist :path)) )) nil)) (defun doom-module-mplist-map (fn mplist)