aboutsummaryrefslogtreecommitdiff
path: root/modules/custom-buffer-file.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
commitc0c441ad92728f6c6a2a4299dff2e264254fd423 (patch)
tree9df8e899861bb0374d9a9157b7a37962b6f5d5e7 /modules/custom-buffer-file.el
parent0a6208cb670fc4d2201230b4580a08e6b50b59c8 (diff)
downloaddotemacs-c0c441ad92728f6c6a2a4299dff2e264254fd423.tar.gz
dotemacs-c0c441ad92728f6c6a2a4299dff2e264254fd423.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/custom-buffer-file.el')
0 files changed, 0 insertions, 0 deletions