Update comments in core-packages
This commit is contained in:
parent
0118535267
commit
b885164ce6
1 changed files with 7 additions and 9 deletions
|
@ -158,9 +158,9 @@ startup."
|
||||||
(package-refresh-contents)
|
(package-refresh-contents)
|
||||||
(setq doom--refreshed-p t)
|
(setq doom--refreshed-p t)
|
||||||
(package-initialize t)))
|
(package-initialize t)))
|
||||||
;; We could let `package-initialize' fill `load-path', but it costs precious
|
;; We could let `package-initialize' fill `load-path', but it does more than
|
||||||
;; milliseconds and does other stuff I don't need (like load autoload
|
;; that alone (like load autoload files). If you want something prematurely
|
||||||
;; files). My premature optimization quota isn't filled yet.
|
;; optimizated right, ya gotta do it yourself.
|
||||||
;;
|
;;
|
||||||
;; Also, in some edge cases involving package initialization during a
|
;; Also, in some edge cases involving package initialization during a
|
||||||
;; non-interactive session, `package-initialize' fails to fill `load-path'.
|
;; non-interactive session, `package-initialize' fails to fill `load-path'.
|
||||||
|
@ -556,9 +556,8 @@ This should be run whenever init.el or an autoload file is modified. Running
|
||||||
;; This function must not use autoloaded functions or external dependencies.
|
;; This function must not use autoloaded functions or external dependencies.
|
||||||
;; It must assume nothing is set up!
|
;; It must assume nothing is set up!
|
||||||
(if (not noninteractive)
|
(if (not noninteractive)
|
||||||
;; This is done "asynchroniously" to protect the current session's state.
|
;; This is done in another instance to protect the current session's
|
||||||
;; This is because `doom-initialize-packages' rereads your emacs config,
|
;; state. `doom-initialize-packages' will have side effects otherwise.
|
||||||
;; which has side effects.
|
|
||||||
(and (doom-packages--async-run 'doom//reload-autoloads)
|
(and (doom-packages--async-run 'doom//reload-autoloads)
|
||||||
(load doom-autoload-file))
|
(load doom-autoload-file))
|
||||||
(doom-initialize-packages)
|
(doom-initialize-packages)
|
||||||
|
@ -627,9 +626,8 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(recompile-p (or recompile-p
|
(recompile-p (or recompile-p
|
||||||
(and (member "-r" (cdr argv)) t))))
|
(and (member "-r" (cdr argv)) t))))
|
||||||
(if (not noninteractive)
|
(if (not noninteractive)
|
||||||
;; This is done "asynchroniously" to protect the current session's
|
;; This is done in another instance to protect the current session's
|
||||||
;; state. This is because `doom-initialize-packages' rereads your emacs
|
;; state. `doom-initialize-packages' will have side effects otherwise.
|
||||||
;; config, which has side effects.
|
|
||||||
(doom-packages--async-run 'doom//byte-compile)
|
(doom-packages--async-run 'doom//byte-compile)
|
||||||
(let ((total-ok 0)
|
(let ((total-ok 0)
|
||||||
(total-fail 0)
|
(total-fail 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue