aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 33b82f74b64..d182f7f693d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -300,6 +300,11 @@ call_debugger (Lisp_Object arg)
300 specbind (Qinhibit_redisplay, Qnil); 300 specbind (Qinhibit_redisplay, Qnil);
301 specbind (Qinhibit_debugger, Qt); 301 specbind (Qinhibit_debugger, Qt);
302 302
303 /* If we are debugging an error while `inhibit-changing-match-data'
304 is bound to non-nil (e.g., within a call to `string-match-p'),
305 then make sure debugger code can still use match data. */
306 specbind (Qinhibit_changing_match_data, Qnil);
307
303#if 0 /* Binding this prevents execution of Lisp code during 308#if 0 /* Binding this prevents execution of Lisp code during
304 redisplay, which necessarily leads to display problems. */ 309 redisplay, which necessarily leads to display problems. */
305 specbind (Qinhibit_eval_during_redisplay, Qt); 310 specbind (Qinhibit_eval_during_redisplay, Qt);