aboutsummaryrefslogtreecommitdiff
path: root/early-init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-03 21:34:05 -0500
committerCraig Jennings <c@cjennings.net>2026-05-03 21:34:05 -0500
commitd5b9a452ea82f25ed7f0e6c850b891a89c979acf (patch)
tree0f4545bc0b14e2f6bdf8d0111f634cba45478c27 /early-init.el
parent07af54c08889a9eb58c20094ee82accafbc5c110 (diff)
downloaddotemacs-d5b9a452ea82f25ed7f0e6c850b891a89c979acf.tar.gz
dotemacs-d5b9a452ea82f25ed7f0e6c850b891a89c979acf.zip
refactor: drop dead intermediate C-s binding in selection-framework
`selection-framework.el` had two `keymap-global-set "C-s"` calls at module load. The first bound `C-s` to `consult-line`, then a later block rebound the same key to `cj/consult-line-or-repeat`. The second binding always won, so the first was dead configuration and made the file harder to reason about. I removed the intermediate `consult-line` binding. The final `cj/consult-line-or-repeat` binding stays. Behavior is unchanged. I added `tests/test-selection-framework-keybindings.el` with one smoke test: load the module with `use-package`, `consult-line`, and `vertico-repeat` stubbed, then assert `C-s` resolves to `cj/consult-line-or-repeat`. That locks in the cleanup so a future re-add of the dead binding would fail the test.
Diffstat (limited to 'early-init.el')
0 files changed, 0 insertions, 0 deletions