Commit 5b650faa authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(find_handler_clause): Make stack-trace-on-error work in batch mode (bug#4228).

parent ea5fff5f
2009-09-20 Tom Tromey <tromey@redhat.com>
* eval.c (find_handler_clause): Make stack-trace-on-error work in
batch mode (bug#4228).
2009-09-18 Rob Christie <robchristie@gmail.com> (tiny change)
* nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more
......
......@@ -1945,14 +1945,13 @@ find_handler_clause (handlers, conditions, sig, data)
{
max_lisp_eval_depth += 15;
max_specpdl_size++;
#ifdef PROTOTYPES
internal_with_output_to_temp_buffer ("*Backtrace*",
(Lisp_Object (*) (Lisp_Object)) Fbacktrace,
Qnil);
#else
internal_with_output_to_temp_buffer ("*Backtrace*",
Fbacktrace, Qnil);
#endif
if (noninteractive)
Fbacktrace ();
else
internal_with_output_to_temp_buffer
("*Backtrace*",
(Lisp_Object (*) (Lisp_Object)) Fbacktrace,
Qnil);
max_specpdl_size--;
max_lisp_eval_depth -= 15;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment