aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-26 19:38:15 -0500
committerCraig Jennings <c@cjennings.net>2026-05-26 19:38:15 -0500
commitf9a12f4570b287445df67d3176c20e87702decb3 (patch)
tree88540f83982b9127c1aedbacb8a480d1c5966760 /init.el
parent1d7108911f4b07243e2a4aef545cbc0c76660309 (diff)
downloaddotemacs-f9a12f4570b287445df67d3176c20e87702decb3.tar.gz
dotemacs-f9a12f4570b287445df67d3176c20e87702decb3.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 'init.el')
0 files changed, 0 insertions, 0 deletions