aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-email.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-03 17:58:42 -0500
committerCraig Jennings <c@cjennings.net>2026-05-03 17:58:42 -0500
commit3abfe8a3d8a7f94eb7253c29379e1c0e3eb0febe (patch)
tree2a229449f5f7b4d42b76ba7ada3acf34e95eead6 /scripts/setup-email.sh
parent460647eea619dbc6dafeb6f4474ad6f1cdba4555 (diff)
downloaddotemacs-3abfe8a3d8a7f94eb7253c29379e1c0e3eb0febe.tar.gz
dotemacs-3abfe8a3d8a7f94eb7253c29379e1c0e3eb0febe.zip
feat(dev-fkeys): propagate prefix-arg to projectile through F4 / F6
I had four call sites passing literal nil to `projectile-compile-project' / `projectile-run-project' / `projectile-test-project'. The literal nil ignored whatever prefix arg the user gave. So `C-u F4 → Compile' or `C-u F6 → All tests' didn't actually force projectile's re-prompt — the prefix arg got swallowed at our wrapper layer. Switched all four to `current-prefix-arg': - `cj/--f4-dispatch' — `compile-only' and `run-only' actions. - `cj/f4-compile-only' — the C-F4 fast path's compiled-project branch. - `cj/f6-test-runner' — the "All tests" menu entry. Use case: when projectile's cached cmd is wrong (typo, stale, or whatever), `C-u' on any of these forces projectile to re-prompt instead of replaying the bad cmd silently. The compile-and-run and clean-rebuild paths still pass nil to their chained projectile calls because those run inside an async `compilation-finish-functions' hook, where `current-prefix-arg' has already reverted to nil. Refining those would need to capture the prefix at entry and thread it through; left for later. TDD: 4 new tests (one per call site) bind `current-prefix-arg' to t and verify projectile receives t. Each test failed against the literal-nil version and passes against `current-prefix-arg'.
Diffstat (limited to 'scripts/setup-email.sh')
0 files changed, 0 insertions, 0 deletions