doomemacs/lisp
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
..
cli refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
lib refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-cli.el fix(cli): doom-cli-load: replace load! w/ doom-load 2022-09-24 22:09:39 +02:00
doom-editor.el refactor: minor refactors & commentary revision 2022-09-24 20:31:34 +02:00
doom-keybinds.el refactor: minor refactors & commentary revision 2022-09-24 20:31:34 +02:00
doom-lib.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-modules.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-packages.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-profiles.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
doom-projects.el nit: comment revision and formatting 2022-09-16 01:14:22 +02:00
doom-start.el refactor: introduce doom-context 2022-09-24 22:09:05 +02:00
doom-ui.el perf: defer init for frame's buffer-predicate 2022-09-20 02:29:14 +02:00
doom.el refactor: introduce doom-context 2022-09-24 22:09:05 +02:00
init.el fix: add :depth field to modules 2022-09-24 18:46:21 +02:00
packages.el module: add :config use-package 2022-09-24 18:46:21 +02:00