mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Refactor core.el
+ Load Doom core in doom! macro + Move automatic minor modes to core-editor + Move doom*set-indirect-buffer-filename to core-editor
This commit is contained in:
@ -26,9 +26,9 @@ If neither is available, run all tests in all enabled modules."
|
||||
(condition-case-unless-debug ex
|
||||
(let (targets)
|
||||
;; ensure DOOM is initialized
|
||||
(unload-feature 'core t)
|
||||
(let (noninteractive)
|
||||
(load (expand-file-name "core/core.el" user-emacs-directory) nil t))
|
||||
(load (expand-file-name "init.el" user-emacs-directory) nil t))
|
||||
(remove-hook 'doom-init-hook #'doom--display-benchmark)
|
||||
;; collect targets
|
||||
(cond ((and command-line-args-left
|
||||
(equal (car command-line-args-left) "--"))
|
||||
|
Reference in New Issue
Block a user