Remove load-prefer-newer letvar around private init

Doesn't actually help and only slows things down.
This commit is contained in:
Henrik Lissner 2018-06-01 17:07:53 +02:00
parent 6480a45f84
commit b28d3414bb
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -280,9 +280,8 @@ non-nil."
;; recurse by accident if any of them need `doom-initialize-modules'.
(setq doom-init-modules-p t)
(when doom-private-dir
(let ((load-prefer-newer t))
(load (expand-file-name "init" doom-private-dir)
'noerror 'nomessage)))))
(load (expand-file-name "init" doom-private-dir)
'noerror 'nomessage))))
(defun doom-initialize-autoloads (file &optional clear-p)
"Tries to load FILE (an autoloads file). Otherwise tries to regenerate it. If