diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:50 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-03 19:10:50 -0500 |
| commit | 6145b1c2b4accc8bae4611710a65c72e0bf323f6 (patch) | |
| tree | 526895058a2ebf6fee8e717b93ab060fdf1f0b99 /modules/coverage-elisp.el | |
| parent | 55aaff0eaeec8043bab5beefd4077748c4d8b909 (diff) | |
| download | dotemacs-6145b1c2b4accc8bae4611710a65c72e0bf323f6.tar.gz dotemacs-6145b1c2b4accc8bae4611710a65c72e0bf323f6.zip | |
fix: keep C-; ! as system command prefix
The module was binding `cj/system-command-map` under `C-; !`, then a few lines later overwriting the same prefix with `cj/system-command-menu`. The second bind won, so every documented subkey, like `C-; ! r` for reboot and `C-; ! l` for lock, was unreachable.
I kept the prefix map and folded the completing-read menu into it at `C-; ! !`. So `C-; !` still opens the prefix, the menu is one extra `!` away, and the single-letter shortcuts work again. I also added which-key labels for every documented subkey so the popup actually says what each one does.
I added `tests/test-system-commands-keymap.el`. It asserts the prefix stays mounted and that every binding (`!`, `L`, `r`, `s`, `S`, `l`, `E`, `e`) resolves to the right command.
Diffstat (limited to 'modules/coverage-elisp.el')
0 files changed, 0 insertions, 0 deletions
