aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1997-06-22 05:01:30 +0000
committerRichard M. Stallman1997-06-22 05:01:30 +0000
commit5492ef3c719559ab34138ace5c1233eba3cb720f (patch)
tree598523d1cc19df9a08ebe1741d0f3269ed49e634
parent4219b27be43fabe30000c38b9e0451264af41100 (diff)
downloademacs-5492ef3c719559ab34138ace5c1233eba3cb720f.tar.gz
emacs-5492ef3c719559ab34138ace5c1233eba3cb720f.zip
(edebug-sit-for-seconds): New variable.
(edebug-display): Use that variable to control amt of time.
-rw-r--r--lisp/emacs-lisp/edebug.el11
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index 9839a38940d..ed36ff1537d 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -9,7 +9,7 @@
9;; LCD Archive Entry: 9;; LCD Archive Entry:
10;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu 10;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
11;; |A source level debugger for Emacs Lisp. 11;; |A source level debugger for Emacs Lisp.
12;; |$Date: 1997/05/05 01:03:53 $|$Revision: 3.16 $|~/modes/edebug.el| 12;; |$Date: 1997/05/29 06:32:44 $|$Revision: 3.17 $|~/modes/edebug.el|
13 13
14;; This file is part of GNU Emacs. 14;; This file is part of GNU Emacs.
15 15
@@ -86,7 +86,7 @@
86;;; Code: 86;;; Code:
87 87
88(defconst edebug-version 88(defconst edebug-version
89 (let ((raw-version "$Revision: 3.16 $")) 89 (let ((raw-version "$Revision: 3.17 $"))
90 (substring raw-version (string-match "[0-9.]*" raw-version) 90 (substring raw-version (string-match "[0-9.]*" raw-version)
91 (match-end 0)))) 91 (match-end 0))))
92 92
@@ -291,6 +291,11 @@ If the result is non-nil, then break. Errors are ignored."
291 :type 'sexp 291 :type 'sexp
292 :group 'edebug) 292 :group 'edebug)
293 293
294(defcustom edebug-sit-for-seconds 1
295 "*Number of seconds to pause when execution mode is `trace'."
296 :type 'number
297 :group 'edebug)
298
294;;; Form spec utilities. 299;;; Form spec utilities.
295 300
296;;;###autoload 301;;;###autoload
@@ -2661,7 +2666,7 @@ MSG is printed after `::::} '."
2661 (t (setq edebug-stop t)))) 2666 (t (setq edebug-stop t))))
2662 ;; not edebug-break 2667 ;; not edebug-break
2663 ((eq edebug-execution-mode 'trace) 2668 ((eq edebug-execution-mode 'trace)
2664 (edebug-sit-for 1)) ; Force update and pause. 2669 (edebug-sit-for edebug-sit-for-seconds)) ; Force update and pause.
2665 ((eq edebug-execution-mode 'Trace-fast) 2670 ((eq edebug-execution-mode 'Trace-fast)
2666 (edebug-sit-for 0)) ; Force update and continue. 2671 (edebug-sit-for 0)) ; Force update and continue.
2667 ) 2672 )