Commit bd1ba3e8 authored by Chong Yidong's avatar Chong Yidong
Browse files

* src/eval.c (Fsignal): Handle `debug' symbol in error handler.

Fixes: debbugs:9329
parent 04ed2e9c
2011-08-20 Chong Yidong <cyd@stupidchicken.com>
* eval.c (Fsignal): Handle `debug' symbol in error handler (Bug#9329).
2011-08-19 Eli Zaretskii <eliz@gnu.org>
* xfaces.c (face_at_buffer_position): Avoid repeated evaluation of
......
......@@ -1699,6 +1699,10 @@ See also the function `condition-case'. */)
&& (!NILP (Vdebug_on_signal)
/* If no handler is present now, try to run the debugger. */
|| NILP (clause)
/* A `debug' symbol in the handler list disables the normal
suppression of the debugger. */
|| (CONSP (clause) && CONSP (XCAR (clause))
&& !NILP (Fmemq (Qdebug, XCAR (clause))))
/* Special handler that means "print a message and run debugger
if requested". */
|| EQ (h->handler, Qerror)))
......
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