aboutsummaryrefslogtreecommitdiff
path: root/modules/term-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-06 12:32:59 -0500
committerCraig Jennings <c@cjennings.net>2026-06-06 12:32:59 -0500
commit46b6403cc688490ea923f13819b562a4a22c5d30 (patch)
tree6d42db92676a1b71a3bcc1dffcbcafff22085ca8 /modules/term-config.el
parente3c3fc8abd5e9e6552e9038c45ee05d220c6e18f (diff)
downloaddotemacs-46b6403cc688490ea923f13819b562a4a22c5d30.tar.gz
dotemacs-46b6403cc688490ea923f13819b562a4a22c5d30.zip
fix(signal): register C-; M prefix via canonical helper
The C-; M Signal prefix didn't take effect on a fresh Emacs launch. signal-config.el was the only feature module that bound into cj/custom-keymap directly, wrapped in (with-eval-after-load 'keybindings (when (boundp 'cj/custom-keymap) ...)). The boundp guard turned a load-order miss into a silent no-op, so the binding never landed at startup. A later live-reload always papered over it because keybindings was loaded by then. I switched to the documented cj/register-prefix-map helper and added (require 'keybindings) at the top, matching every other prefix map. The require guarantees keybindings loads before registration, so the guard is gone. I verified at a full emacs --batch init.el launch, the actual failing scenario, that C-; M resolves to the signel prefix. I added a contract test asserting the registration, since the boundp guard was robust under unit timings and only failed at full launch.
Diffstat (limited to 'modules/term-config.el')
0 files changed, 0 insertions, 0 deletions