Fix void-variable doom-module-dirs error from 'doom clean'

This commit is contained in:
Henrik Lissner 2019-11-08 16:12:25 -05:00
parent 2edafcb3ac
commit ee2c1e384c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -182,6 +182,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
(defun doom-clean-byte-compiled-files () (defun doom-clean-byte-compiled-files ()
"Delete all the compiled elc files in your Emacs configuration and private "Delete all the compiled elc files in your Emacs configuration and private
module. This does not include your byte-compiled, third party packages.'" module. This does not include your byte-compiled, third party packages.'"
(require 'core-modules)
(print! (start "Cleaning .elc files")) (print! (start "Cleaning .elc files"))
(print-group! (print-group!
(cl-loop with default-directory = doom-emacs-dir (cl-loop with default-directory = doom-emacs-dir