(edebug-enter): Call with-timeout-suspend and with-timeout-unsuspend.

This commit is contained in:
Richard M. Stallman 2005-07-10 17:23:54 +00:00
parent 5bcc074b49
commit e2dacaacaf
2 changed files with 34 additions and 0 deletions

View file

@ -2244,6 +2244,7 @@ error is signaled again."
(max-specpdl-size (+ 200 max-specpdl-size))
(debugger edebug-debugger) ; only while edebug is active.
(edebug-with-timeout-suspend (with-timeout-suspend))
(edebug-outside-debug-on-error debug-on-error)
(edebug-outside-debug-on-quit debug-on-quit)
;; Binding these may not be the right thing to do.
@ -2289,6 +2290,7 @@ error is signaled again."
(edebug-enter edebug-function edebug-args edebug-body))
;; Reset global variables in case outside value was changed.
(setq executing-kbd-macro edebug-outside-executing-macro)
(with-timeout-unsuspend edebug-with-timeout-suspend)
(edebug-restore-status
'post-command-hook edebug-outside-post-command-hook)
(edebug-restore-status