mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-02-20 06:41:44 -08:00
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. |
||
|---|---|---|
| .. | ||
| cli | ||
| lib | ||
| doom-cli.el | ||
| doom-editor.el | ||
| doom-keybinds.el | ||
| doom-lib.el | ||
| doom-modules.el | ||
| doom-packages.el | ||
| doom-profiles.el | ||
| doom-projects.el | ||
| doom-start.el | ||
| doom-ui.el | ||
| doom.el | ||
| init.el | ||
| packages.el | ||