diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-24 19:53:28 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-24 19:53:28 -0500 |
| commit | 47f222f66d7d481fb0d50661d64f49440455ff6d (patch) | |
| tree | ce208be918001b30ed67cf80292b47e5b22c46f0 /todo.org | |
| parent | 36a453d2c1237b49f594b23433858a0146dbf31e (diff) | |
| download | dotemacs-47f222f66d7d481fb0d50661d64f49440455ff6d.tar.gz dotemacs-47f222f66d7d481fb0d50661d64f49440455ff6d.zip | |
feat(keybindings): add cj/custom-keymap registration API
Phase 3 of the load-graph project. cj/register-prefix-map and cj/register-command bind a prefix map or command under the C-; prefix and register the which-key label once which-key loads. Feature modules will route their registration through these instead of mutating cj/custom-keymap directly, so keybindings.el stays the sole owner of the prefix and modules stop assuming the keymap already exists at load.
Adds test-init-keymap-registration.el covering prefix-map and command resolution, the optional label, and invalid-key rejection. No modules are migrated yet; that follows in batches.
Diffstat (limited to 'todo.org')
| -rw-r--r-- | todo.org | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -412,7 +412,7 @@ Do this incrementally. After each batch: - Run =make test= or at least targeted tests. - Check that keybindings still resolve and which-key labels still appear. -**** TODO [#B] Centralize custom keymap registration :refactor: +**** DOING [#B] Centralize custom keymap registration :refactor: Many modules mutate =cj/custom-keymap= or global keys at top level. This is a real architectural boundary because it forces load order and makes standalone |
