<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dotemacs/tests/test-init-keymap-registration.el, branch main</title>
<subtitle>My Emacs configuration
</subtitle>
<id>https://git.cjennings.net/dotemacs/atom?h=main</id>
<link rel='self' href='https://git.cjennings.net/dotemacs/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/'/>
<updated>2026-05-25T00:53:28+00:00</updated>
<entry>
<title>feat(keybindings): add cj/custom-keymap registration API</title>
<updated>2026-05-25T00:53:28+00:00</updated>
<author>
<name>Craig Jennings</name>
<email>c@cjennings.net</email>
</author>
<published>2026-05-25T00:53:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.cjennings.net/dotemacs/commit/?id=47f222f66d7d481fb0d50661d64f49440455ff6d'/>
<id>urn:sha1:47f222f66d7d481fb0d50661d64f49440455ff6d</id>
<content type='text'>
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.
</content>
</entry>
</feed>
