diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-21 01:57:44 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-21 01:57:44 -0400 |
| commit | 03d8b587b1f49073d94bd0c4114fe09e832183f8 (patch) | |
| tree | c4b1c5e2289206bbd70563c866f4882d19221ac8 /docs | |
| parent | c4a36132d537f7dd5a7c8e429cbd9b0ec4e44abe (diff) | |
| download | dotemacs-03d8b587b1f49073d94bd0c4114fe09e832183f8.tar.gz dotemacs-03d8b587b1f49073d94bd0c4114fe09e832183f8.zip | |
refactor: defer games-config behind autoloads (load-graph Phase 4)
init.el eagerly required games-config at startup just to configure two on-demand game packages. package.el already autoloads malyon and 2048-game, so the eager require bought nothing but the one setting the module adds (malyon-stories-directory).
init.el now autoloads malyon and 2048-game to games-config instead of requiring it. The first game command loads the module, which configures then loads the package. Startup no longer touches games-config, and both the commands and the stories-directory setting still work. This is the first module of the Phase 4 low-risk batch.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design/module-inventory.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/design/module-inventory.org b/docs/design/module-inventory.org index eeb824b57..3903d0ba9 100644 --- a/docs/design/module-inventory.org +++ b/docs/design/module-inventory.org @@ -205,7 +205,7 @@ flyspell-and-abbrev is the one Core-UX member (text-mode hooks). | =eshell-config= | 3 | D/P | eager | command | system-utils | add-hook, advice-add, package config | yes | | =eww-config= | 3 | D/P | eager | command | cl-lib | package config | yes | | =flyspell-and-abbrev= | 2 | C/P | eager | hook | cl-lib | mode-hook package config | yes | -| =games-config= | 4 | O | eager | command | none | package config | yes | +| =games-config= | 4 | O | command | command | none | package config | yes | | =gloss-config= | 4 | O/D/P | eager | command | none | package config | yes | | =httpd-config= | 4 | O/D/P | eager | command | none | package config | yes | | =jumper= | 4 | O/L | eager | command | cl-lib | jumper keymap | yes | |
