diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-26 19:38:15 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-26 19:38:15 -0500 |
| commit | 09af335782d678a15e6b4931f7d5e8c5e7eb034c (patch) | |
| tree | 8fb0af60d7e15c1c238662493d6f278dc2eb743a /scripts/remote-repository-reset.sh | |
| parent | 7c203bf55e72c9e48ea838be15ac02512b6983d2 (diff) | |
| download | dotemacs-09af335782d678a15e6b4931f7d5e8c5e7eb034c.tar.gz dotemacs-09af335782d678a15e6b4931f7d5e8c5e7eb034c.zip | |
fix(early-init): stop wiring C-g to the debugger at startup
Setting debug-on-quit t during startup turns C-g into a debugger trigger instead of an abort, so the normal "break out of a hang" reflex drops you into a recursive-edit you can't C-g out of. Worse, debug-on-error is also on during startup. An init error pops the debugger before the emacs-startup-hook cleanup runs, and debug-on-quit stays t for the whole session. I hit exactly that: a quit cascaded into a debugger loop that needed killall to escape.
I dropped debug-on-quit from the startup block and removed its now-redundant cleanup line. debug-on-error stays on during startup so init errors are still caught. C-g stays an escape hatch.
Diffstat (limited to 'scripts/remote-repository-reset.sh')
0 files changed, 0 insertions, 0 deletions
