Add 2nd arg to doom-initialize to load core libs

This restores the correct value of noninteractive while core libs are
loading, so packages like recentf can avoid initializing when running
emacs non interactively (thus polluting output or possibly causing
errors).
This commit is contained in:
Henrik Lissner 2018-08-03 16:16:01 +02:00
parent ab4052b8dc
commit ea0f46b181
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 9 additions and 9 deletions

View file

@ -6,11 +6,10 @@ command line args following a double dash (each arg should be in the
'module/submodule' format).
If neither is available, run all tests in all enabled modules."
(let (noninteractive)
;; Core libraries aren't fully loaded in a noninteractive session, so we
;; reload it with `noninteractive' set to nil to force them to.
(quiet! (doom-reload-autoloads))
(doom-initialize t))
;; Core libraries aren't fully loaded in a noninteractive session, so we
;; reload it with `noninteractive' set to nil to force them to.
(quiet! (doom-reload-autoloads))
(doom-initialize t t)
(let ((target-paths
;; Convert targets into a list of string paths, pointing to the root
;; directory of modules