changeset 18376:9ae76ef113f6

(edebug-sit-for-seconds): New variable. (edebug-display): Use that variable to control amt of time.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Jun 1997 05:01:30 +0000
parents b547822f0a11
children 8b4a66c66dd6
files lisp/emacs-lisp/edebug.el
diffstat 1 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el	Sat Jun 21 23:59:11 1997 +0000
+++ b/lisp/emacs-lisp/edebug.el	Sun Jun 22 05:01:30 1997 +0000
@@ -9,7 +9,7 @@
 ;; LCD Archive Entry:
 ;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
 ;; |A source level debugger for Emacs Lisp.
-;; |$Date: 1997/05/05 01:03:53 $|$Revision: 3.16 $|~/modes/edebug.el|
+;; |$Date: 1997/05/29 06:32:44 $|$Revision: 3.17 $|~/modes/edebug.el|
 
 ;; This file is part of GNU Emacs.
 
@@ -86,7 +86,7 @@
 ;;; Code:
 
 (defconst edebug-version
-  (let ((raw-version "$Revision: 3.16 $"))
+  (let ((raw-version "$Revision: 3.17 $"))
     (substring raw-version (string-match "[0-9.]*" raw-version)
 	       (match-end 0))))
      
@@ -291,6 +291,11 @@
   :type 'sexp
   :group 'edebug)
 
+(defcustom edebug-sit-for-seconds 1
+  "*Number of seconds to pause when execution mode is `trace'."
+  :type 'number
+  :group 'edebug)
+
 ;;; Form spec utilities.
 
 ;;;###autoload
@@ -2661,7 +2666,7 @@
 	     (t (setq edebug-stop t))))
 	   ;; not edebug-break
 	   ((eq edebug-execution-mode 'trace)
-	    (edebug-sit-for 1))		; Force update and pause.
+	    (edebug-sit-for edebug-sit-for-seconds)) ; Force update and pause.
 	   ((eq edebug-execution-mode 'Trace-fast)
 	    (edebug-sit-for 0))		; Force update and continue.
 	   )