]> git.eshelyaron.com Git - emacs.git/commitdiff
(debug): Call with-timeout-suspend and with-timeout-unsuspend.
authorRichard M. Stallman <rms@gnu.org>
Sun, 10 Jul 2005 17:19:07 +0000 (17:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 10 Jul 2005 17:19:07 +0000 (17:19 +0000)
lisp/emacs-lisp/debug.el

index 3e4bf4455515a1cb1e4e9de4ee816bd299c021c5..4f968c60b5e59888449d4ea5c26b86d9c955f047 100644 (file)
@@ -150,7 +150,8 @@ first will be printed into the backtrace buffer."
          (debugger-outer-standard-input standard-input)
          (debugger-outer-standard-output standard-output)
          (debugger-outer-inhibit-redisplay inhibit-redisplay)
-         (debugger-outer-cursor-in-echo-area cursor-in-echo-area))
+         (debugger-outer-cursor-in-echo-area cursor-in-echo-area)
+         (debugger-with-timeout-suspend (with-timeout-suspend)))
       ;; Set this instead of binding it, so that `q'
       ;; will not restore it.
       (setq overriding-terminal-local-map nil)
@@ -235,6 +236,7 @@ first will be printed into the backtrace buffer."
                     ;; Drew Adams.  --Stef
                     (quit-window))))
            (kill-buffer debugger-buffer))
+         (with-timeout-unsuspend debugger-with-timeout-suspend)
          (set-match-data debugger-outer-match-data)))
       ;; Put into effect the modified values of these variables
       ;; in case the user set them with the `e' command.