doomemacs/lisp/cli
Henrik Lissner 4efaf6837b
refactor: introduce doom-module-context
Where f9201eb introduced a general context system, this one introduces
one for modules, to simplify our let-bind game when interacting with
modules, and to more efficiently expose module state to modulep! (which
gets called at runtime a great deal, so its performance is important).

* lisp/doom-lib.el (doom-log): simplify macro and introduce
  doom-inhibit-log variable.
* lisp/doom-modules.el (modulep!): fix reported file path if modulep!
  fails to find the local module.
* lisp/lib/debug.el (doom-debug-variables): disable doom-inhibit-log
  when debug mode is on.

Ref: f9201eb218
2022-09-24 22:09:46 +02:00
..
make refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
ci.el nit: revise comments, reformat config sections 2022-09-16 01:14:21 +02:00
compile.el refactor: use doom-module-*-file variables; add two 2022-09-24 20:31:34 +02:00
doctor.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
env.el fix(cli): remove redundant doom-env-file 2022-09-16 17:06:49 +02:00
help.el nit: minor comment revision and refactors 2022-09-16 17:01:57 +02:00
info.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
install.el refactor: use doom-module-*-file variables; add two 2022-09-24 20:31:34 +02:00
make.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
packages.el perf: disable autoload-compute-prefixes & optimize var cache 2022-09-20 01:43:33 +02:00
profiles.el feat(cli): introduce DOOMPROFILELOAD{FILE,PATH} envvars 2022-09-18 00:28:13 +02:00
run.el fix(cli): link $XDG_*_HOME to fake $HOME for doom run 2022-09-18 13:55:47 +02:00
sync.el fix(cli): type error trying to split a cons cell 2022-09-17 21:41:42 +02:00
test.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
upgrade.el refactor: use doom-module-*-file variables; add two 2022-09-24 20:31:34 +02:00