Don't let packages modify command-switch-alist
From their autoloads.
This commit is contained in:
parent
3ea805cc94
commit
1eb1933518
1 changed files with 5 additions and 4 deletions
|
@ -431,10 +431,11 @@ to least)."
|
||||||
;; autoloads file and caches `load-path', `auto-mode-alist',
|
;; autoloads file and caches `load-path', `auto-mode-alist',
|
||||||
;; `Info-directory-list', `doom-disabled-packages' and
|
;; `Info-directory-list', `doom-disabled-packages' and
|
||||||
;; `package-activated-list'. A big reduction in startup time.
|
;; `package-activated-list'. A big reduction in startup time.
|
||||||
|
(let (command-switch-alist)
|
||||||
(unless (or force-p
|
(unless (or force-p
|
||||||
(doom-initialize-autoloads doom-package-autoload-file)
|
(doom-initialize-autoloads doom-package-autoload-file)
|
||||||
noninteractive)
|
noninteractive)
|
||||||
(user-error "Your package autoloads are missing! Run `bin/doom refresh' to regenerate them")))
|
(user-error "Your package autoloads are missing! Run `bin/doom refresh' to regenerate them"))))
|
||||||
|
|
||||||
(require 'core-os)
|
(require 'core-os)
|
||||||
(when (or force-load-core-p (not noninteractive))
|
(when (or force-load-core-p (not noninteractive))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue