doomemacs/lisp/lib
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
..
autoloads.el perf: disable autoload-compute-prefixes & optimize var cache 2022-09-20 01:43:33 +02:00
buffers.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
config.el refactor: introduce doom-context 2022-09-24 22:09:05 +02:00
debug.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
docs.el bump: :lang org 2022-09-18 13:10:49 +02:00
files.el refactor: introduce doom-module-context 2022-09-24 22:09:46 +02:00
fonts.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
git.el refactor(lib): provide doom-libs as subfeatures 2022-09-08 00:20:26 +02:00
help.el fix(lib): doom/help-search-{load-path,loaded-files} 2022-09-20 02:29:08 +02:00
packages.el refactor: use doom-module-*-file variables; add two 2022-09-24 20:31:34 +02:00
plist.el refactor(lib): provide doom-libs as subfeatures 2022-09-08 00:20:26 +02:00
print.el fix(cli): debug output despite no debug-mode 2022-09-19 17:33:25 +02:00
process.el refactor(lib): provide doom-libs as subfeatures 2022-09-08 00:20:26 +02:00
projects.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
sandbox.el refactor!: redesign module init/config hooks 2022-09-16 01:14:22 +02:00
scratch.el refactor: deprecate doom-etc-dir for doom-data-dir 2022-08-14 20:43:35 +02:00
sessions.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
store.el refactor: deprecate doom-etc-dir for doom-data-dir 2022-08-14 20:43:35 +02:00
system.el refactor(lib): use num-processors 2022-09-08 13:36:17 +02:00
text.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
themes.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
ui.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00