mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: more void-variable errors
For `straight--build-cache` and `doom-modules`.
Fix: #8140
Amend: 8cafbe4408
This commit is contained in:
@ -320,15 +320,7 @@ If RETURN-P, return the message as a string instead of displaying it."
|
||||
(setq load-history
|
||||
(delete (assoc init-file-name load-history)
|
||||
load-history))
|
||||
(let ((startup-or-reload?
|
||||
(or (doom-context-p 'startup)
|
||||
(doom-context-p 'reload))))
|
||||
(when startup-or-reload?
|
||||
(doom--startup-vars))
|
||||
(doom--startup-module-autoloads)
|
||||
(doom--startup-package-autoloads)
|
||||
(when startup-or-reload?
|
||||
(doom--startup-modules)))))
|
||||
(doom-startup)))
|
||||
;; TODO: Add safe-mode profile.
|
||||
;; (error
|
||||
;; ;; HACK: This is not really this variable's intended purpose, but it
|
||||
|
Reference in New Issue
Block a user