[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/handler-bind-2 c03598f1323 11/16: src/eval.c (call_debugger): Do

From: Stefan Monnier
Subject: scratch/handler-bind-2 c03598f1323 11/16: src/eval.c (call_debugger): Don't bind `Qinhibit_changing_match_data`
Date: Wed, 27 Dec 2023 23:53:31 -0500 (EST)

branch: scratch/handler-bind-2
commit c03598f1323275c6be20ca8e5a90eaf1e7c5656c
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    src/eval.c (call_debugger): Don't bind `Qinhibit_changing_match_data`
 src/eval.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/eval.c b/src/eval.c
index 3e352911479..a821312b5ff 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -297,11 +297,6 @@ call_debugger (Lisp_Object arg)
   specbind (Qinhibit_redisplay, Qnil);
   specbind (Qinhibit_debugger, Qt);
-  /* If we are debugging an error while `inhibit-changing-match-data'
-     is bound to non-nil (e.g., within a call to `string-match-p'),
-     then make sure debugger code can still use match data.  */
-  specbind (Qinhibit_changing_match_data, Qnil);
 #if 0 /* Binding this prevents execution of Lisp code during
         redisplay, which necessarily leads to display problems.  */
   specbind (Qinhibit_eval_during_redisplay, Qt);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]