all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* edebug - use edebug-sit-for-seconds after displaying blank
@ 2006-02-23 21:18 Ken Manheimer
  0 siblings, 0 replies; only message in thread
From: Ken Manheimer @ 2006-02-23 21:18 UTC (permalink / raw)


here's a small edebug change to apply.  it may add a tiny improvement
many, many times to your debugging efforts, if you use the debugger as
i do.

--
ken manheimer
ken.manheimer@gmail.com
http://myriadicity.net

ChangeLog entry:

2006-02-23  Ken Manheimer <ken.manheimer@gmail.com>

	* emacs-lisp/edebug.el (edebug-display): Use
	`edebug-sit-for-seconds' value instead of constant (1) on
	more pauses.

Patch:

--- edebug.el	10 Feb 2006 14:56:16 -0500	3.87
+++ edebug.el	23 Feb 2006 16:06:47 -0500	
@@ -2660,13 +2660,14 @@
 		;; Display result of previous evaluation.
 		(if (and edebug-break
 			 (not (eq edebug-execution-mode 'Continue-fast)))
-		    (sit-for 1))	; Show break message.
+                    (edebug-sit-for edebug-sit-for-seconds)) ; Show message.
 		(edebug-previous-result)))

 	  (cond
 	   (edebug-break
 	    (cond
-	     ((eq edebug-execution-mode 'continue) (edebug-sit-for 1))
+	     ((eq edebug-execution-mode 'continue)
+              (edebug-sit-for edebug-sit-for-seconds))
 	     ((eq edebug-execution-mode 'Continue-fast) (edebug-sit-for 0))
 	     (t (setq edebug-stop t))))
 	   ;; not edebug-break

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-23 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 21:18 edebug - use edebug-sit-for-seconds after displaying blank Ken Manheimer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.