summaryrefslogtreecommitdiff
path: root/modules/help-utils.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-03 19:10:50 -0500
committerCraig Jennings <c@cjennings.net>2026-05-03 19:10:50 -0500
commit27be125089ed736f27ebe4f2fc379c1bed1dd576 (patch)
tree526895058a2ebf6fee8e717b93ab060fdf1f0b99 /modules/help-utils.el
parent79a7329dc150dea94af49a7b59022941025a2c6d (diff)
downloaddotemacs-27be125089ed736f27ebe4f2fc379c1bed1dd576.tar.gz
dotemacs-27be125089ed736f27ebe4f2fc379c1bed1dd576.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/help-utils.el')
0 files changed, 0 insertions, 0 deletions