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:
parent
ab4052b8dc
commit
ea0f46b181
3 changed files with 9 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue