aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/init.el b/init.el
index eab444d00..cda6aeb72 100644
--- a/init.el
+++ b/init.el
@@ -153,10 +153,10 @@
;; ------------------------------- Entertainment -------------------------------
(require 'music-config)
-;; games-config: deferred (load-graph Phase 4). malyon / 2048-game autoload the
-;; module, so it loads on first use instead of at startup.
-(autoload 'malyon "games-config" "Play interactive fiction; loads games-config." t)
-(autoload '2048-game "games-config" "Play 2048; loads games-config." t)
+;; games-config: deferred (load-graph Phase 4). malyon / 2048-game autoload
+;; their own commands via package.el; games-config only supplies malyon's config,
+;; so load it when malyon loads rather than requiring it at startup.
+(with-eval-after-load 'malyon (require 'games-config))
;; ------------------------------- Misc Modules --------------------------------