doomemacs/lisp
Henrik Lissner 8c442d84b9
perf: custom-dont-initialize = t
defcustom does some initialization work to accommodate the possibility
that the user has set the variable before it was defined.  This work is
unneeded so early at startup, so I disable it (temporarily).

In the future, Doom will use defcustom more, as it's a helpful
indication to readers what variables I intended for configuration (and
helps with discovery of options through `M-x doom/help-custom-variable`
or `M-x customize`). As that transition occurs, the benefit of this
optimization will begin to show, but for now its effect on startup time
is negligible.

* lisp/doom.el (warning-suppress-types): set this immediately. Since its
  default value is nil and this happens so early at startup, we don't
  have to be considerate of defaults. Plus, this custom-dont-initialize
  optimization can cause breakage if a warning is thrown *before* before
  this setting is changed.
2022-09-24 22:10:02 +02:00
..
cli refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
lib refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-cli.el fix(cli): doom-cli-load: replace load! w/ doom-load 2022-09-24 22:09:39 +02:00
doom-editor.el refactor: minor refactors & commentary revision 2022-09-24 20:31:34 +02:00
doom-keybinds.el refactor: minor refactors & commentary revision 2022-09-24 20:31:34 +02:00
doom-lib.el tweak(lib): log calling hook from doom-run-hook 2022-09-24 22:10:02 +02:00
doom-modules.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-packages.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-profiles.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-projects.el nit: comment revision and formatting 2022-09-16 01:14:22 +02:00
doom-start.el refactor: introduce doom-context 2022-09-24 22:09:05 +02:00
doom-ui.el perf: defer init for frame's buffer-predicate 2022-09-20 02:29:14 +02:00
doom.el perf: custom-dont-initialize = t 2022-09-24 22:10:02 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el module: add :config use-package 2022-09-24 18:46:21 +02:00