diff options
| author | Stefan Monnier | 2023-12-20 23:31:39 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2024-01-04 16:35:53 -0500 |
| commit | 604e34338f3b5a31439020c6704f9f9d07d17d69 (patch) | |
| tree | 6c174d866bb014b09705466158619d3e6654f236 /admin/notes/java | |
| parent | 80b081a0ac72a5a9e459af6c96f5b0226a79894f (diff) | |
| download | emacs-604e34338f3b5a31439020c6704f9f9d07d17d69.tar.gz emacs-604e34338f3b5a31439020c6704f9f9d07d17d69.zip | |
Move batch backtrace code to `top_level_2`
Move ad-hoc code meant to ease debugging of bootstrap (and batch mode)
to `top_level_2` so it doesn't pollute `signal_or_quit`.
* src/lisp.h (pop_handler, push_handler_bind): Declare.
* src/keyboard.c (top_level_2): Setup an error handler to call
`debug-early` when noninteractive.
* src/eval.c (pop_handler): Not static any more.
(signal_or_quit): Remove special case for noninteractive use.
(push_handler_bind): New function, extracted from `Fhandler_bind_1`.
(Fhandler_bind_1): Use it.
(syms_of_eval): Declare `Qdebug_early__handler`.
* lisp/emacs-lisp/debug-early.el (debug-early-backtrace): Weed out
frames below `debug-early`.
(debug-early--handler): New function.
Diffstat (limited to 'admin/notes/java')
0 files changed, 0 insertions, 0 deletions