(find_handler_clause): Temporarily increase max-lisp-eval-depth while
printing the backtrace buffer, to guarantee that help-mode code can run.
This commit is contained in:
parent
fe9365b324
commit
48ce8ca74e
2 changed files with 11 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-27 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* eval.c (find_handler_clause): Temporarily increase
|
||||
max-lisp-eval-depth while printing the backtrace buffer, to
|
||||
guarantee that help-mode code can run.
|
||||
|
||||
2008-08-27 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* msdos.c (Fmsdos_remember_default_colors): Don't reverse frame
|
||||
|
|
|
@ -1941,16 +1941,18 @@ find_handler_clause (handlers, conditions, sig, data)
|
|||
{
|
||||
if (!NILP (sig) && wants_debugger (Vstack_trace_on_error, conditions))
|
||||
{
|
||||
max_lisp_eval_depth += 15;
|
||||
max_specpdl_size++;
|
||||
#ifdef PROTOTYPES
|
||||
#ifdef PROTOTYPES
|
||||
internal_with_output_to_temp_buffer ("*Backtrace*",
|
||||
(Lisp_Object (*) (Lisp_Object)) Fbacktrace,
|
||||
Qnil);
|
||||
#else
|
||||
#else
|
||||
internal_with_output_to_temp_buffer ("*Backtrace*",
|
||||
Fbacktrace, Qnil);
|
||||
#endif
|
||||
#endif
|
||||
max_specpdl_size--;
|
||||
max_lisp_eval_depth -= 15;
|
||||
}
|
||||
|
||||
if (!debugger_considered)
|
||||
|
|
Loading…
Add table
Reference in a new issue