fix(cli): remove vestigial doom-initialize-modules calls

Fix: #6784
This commit is contained in:
Henrik Lissner 2022-09-16 10:29:52 +02:00
parent ab9896c526
commit 7ea4b21953
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 4 additions and 8 deletions

View file

@ -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)