parent
ab9896c526
commit
7ea4b21953
2 changed files with 4 additions and 8 deletions
|
@ -94,11 +94,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
(doom-log "Reloading Doom in preparation for byte-compilation")
|
||||
;; But first we must be sure that Doom and your private config have been
|
||||
;; fully loaded. Which usually aren't so in an noninteractive session.
|
||||
(let ((load-prefer-newer t)
|
||||
(noninteractive t))
|
||||
(require 'doom-start)
|
||||
(quiet! (doom-initialize-packages))
|
||||
(quiet! (doom-initialize-modules))))
|
||||
(let ((load-prefer-newer t))
|
||||
(require 'doom-start)))
|
||||
|
||||
(if (null targets)
|
||||
(print! (item "No targets to %scompile" (if recompile-p "re" "")))
|
||||
|
|
|
@ -74,9 +74,8 @@ Change `$DOOMDIR' with the `--doomdir' option, e.g.
|
|||
("config.el" . ,(doom-path doom-emacs-dir "templates/config.example.el"))
|
||||
("packages.el" . ,(doom-path doom-emacs-dir "templates/packages.example.el"))))))
|
||||
|
||||
;; In case no init.el was present the first time `doom-initialize-modules' was
|
||||
;; called in core.el (e.g. on first install)
|
||||
(doom-initialize-modules 'force 'no-config)
|
||||
;; In case no init.el was present the first time it was loaded.
|
||||
(doom-load (doom-path doom-user-dir doom-module-init-file) t)
|
||||
|
||||
;; Ask if user would like an envvar file generated
|
||||
(if (eq envfile? :no)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue