aboutsummaryrefslogtreecommitdiff
path: root/snippets/sh-mode
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
commitb414e220b8fd5aa2d6f0c04f7176f4bbab406d43 (patch)
treeb5e20d2b3c0137fd73cc2e4e03ad39305e3e5e11 /snippets/sh-mode
parentcbc6100ae09fa177a8980b956c8709f595995f60 (diff)
downloaddotemacs-b414e220b8fd5aa2d6f0c04f7176f4bbab406d43.tar.gz
dotemacs-b414e220b8fd5aa2d6f0c04f7176f4bbab406d43.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 'snippets/sh-mode')
0 files changed, 0 insertions, 0 deletions