Remove load-prefer-newer letvar around private init
Doesn't actually help and only slows things down.
This commit is contained in:
parent
6480a45f84
commit
b28d3414bb
1 changed files with 2 additions and 3 deletions
|
@ -280,9 +280,8 @@ non-nil."
|
||||||
;; recurse by accident if any of them need `doom-initialize-modules'.
|
;; recurse by accident if any of them need `doom-initialize-modules'.
|
||||||
(setq doom-init-modules-p t)
|
(setq doom-init-modules-p t)
|
||||||
(when doom-private-dir
|
(when doom-private-dir
|
||||||
(let ((load-prefer-newer t))
|
(load (expand-file-name "init" doom-private-dir)
|
||||||
(load (expand-file-name "init" doom-private-dir)
|
'noerror 'nomessage))))
|
||||||
'noerror 'nomessage)))))
|
|
||||||
|
|
||||||
(defun doom-initialize-autoloads (file &optional clear-p)
|
(defun doom-initialize-autoloads (file &optional clear-p)
|
||||||
"Tries to load FILE (an autoloads file). Otherwise tries to regenerate it. If
|
"Tries to load FILE (an autoloads file). Otherwise tries to regenerate it. If
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue