File tree Expand file tree Collapse file tree 3 files changed +10
-12
lines changed
.github/workflows/scripts/minemacs-all.d Expand file tree Collapse file tree 3 files changed +10
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ environment variable \"$MINEMACS_IGNORE_USER_CONFIG\".")
66
66
(or minemacs-always-demand-p (daemonp ) (and (getenv " MINEMACS_NOT_LAZY" ) t ))
67
67
" Load lazy packages (minemacs-lazy-hook) immediately." )
68
68
69
+ (defconst minemacs-load-all-modules-p
70
+ (and (getenv " MINEMACS_LOAD_ALL_MODULES" ) t )
71
+ " Force loading all MinEmacs modules." )
72
+
69
73
(defcustom minemacs-msg-level
70
74
(let ((level (string-to-number (or (getenv " MINEMACS_MSG_LEVEL" ) " " ))))
71
75
(cond (minemacs-verbose-p 4 )
Original file line number Diff line number Diff line change @@ -211,6 +211,12 @@ goes idle."
211
211
(+load minemacs-core-dir " me-modules.el" )
212
212
(+load-user-configs 'modules 'local/modules ))
213
213
214
+ ; ; When the MINEMACS_LOAD_ALL_MODULES environment variable is set, we force
215
+ ; ; loading all modules.
216
+ (when minemacs-load-all-modules-p
217
+ (setq minemacs-core-modules '(me-splash me-keybindings me-evil me-core-ui me-completion)
218
+ minemacs-modules (mapcar #'intern (mapcar #'file-name-sans-extension (directory-files minemacs-modules-dir nil " \\ .el\\ '" )))))
219
+
214
220
; ; NOTE: Ensure the `me-gc' module is in the core modules list. This module
215
221
; ; enables the `gcmh-mode' package (a.k.a. the Garbage Collector Magic Hack).
216
222
; ; This GCMH minimizes GC interference with the activity by using a high GC
You can’t perform that action at this time.
0 commit comments