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 | c04c0322f88992a5d6c1c630b1d3a096741b8496 (patch) | |
| tree | 12456b49c4551f38fb8a8dab874f521cf042b5fc /modules/cj-window-toggle-lib.el | |
| parent | 797ae14f25477a99523541e5ea82d85c11094f9c (diff) | |
| download | dotemacs-c04c0322f88992a5d6c1c630b1d3a096741b8496.tar.gz dotemacs-c04c0322f88992a5d6c1c630b1d3a096741b8496.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 'modules/cj-window-toggle-lib.el')
0 files changed, 0 insertions, 0 deletions
