Target all config files with non-comprehensive doom/byte-compile + fix docstrings/messages

This commit is contained in:
Henrik Lissner 2017-02-04 02:55:47 -05:00
parent 3b4c0693fd
commit 7092d448c6

View file

@ -309,7 +309,7 @@ command line)."
(message "Deleted old autoloads.el")) (message "Deleted old autoloads.el"))
(dolist (file autoload-files) (dolist (file autoload-files)
(update-file-autoloads file) (update-file-autoloads file)
(message "Detected: %s" (f-relative file doom-emacs-dir))) (message "Scanned %s" (f-relative file doom-emacs-dir)))
(with-current-buffer (get-file-buffer generated-autoload-file) (with-current-buffer (get-file-buffer generated-autoload-file)
(save-buffer) (save-buffer)
(eval-buffer)) (eval-buffer))
@ -321,7 +321,7 @@ init.el, core/*.el and modules/*/*/config.el) DOOM Emacs was designed to benefit
a lot from this. a lot from this.
If COMPREHENSIVE-P is non-nil, then compile modules/*/*/*.el (except for If COMPREHENSIVE-P is non-nil, then compile modules/*/*/*.el (except for
packages.el files). The benefit from this is minimal and may take more time." packages.el files) -- this will likely take a long time."
(interactive) (interactive)
(doom-reload) (doom-reload)
(let ((targets (append (let ((targets (append
@ -331,9 +331,9 @@ packages.el files). The benefit from this is minimal and may take more time."
(-flatten (-flatten
(--map (f--entries (doom-module-path (car it) (cdr it)) (--map (f--entries (doom-module-path (car it) (cdr it))
(and (f-ext-p it "el") (and (f-ext-p it "el")
(if comprehensive-p (or comprehensive-p
(not (string= (f-base it) "packages")) (string= (f-base it) "config")
(string= (f-base it) "config"))) (string-prefix-p "+" (f-base it))))
t) t)
doom-enabled-modules)))) doom-enabled-modules))))
(n 0) (n 0)