]> git.eshelyaron.com Git - emacs.git/commitdiff
(edebug-enter): Don't call the current function being debugged in
authorBrian Fox <bfox@gnu.org>
Tue, 21 Sep 1993 07:18:36 +0000 (07:18 +0000)
committerBrian Fox <bfox@gnu.org>
Tue, 21 Sep 1993 07:18:36 +0000 (07:18 +0000)
pre-command-hook or post-command-hook.

lisp/emacs-lisp/edebug.el

index a5acfd5087510cffbafdcf29ab0ac4e2182f83d2..9061751082d01c92adf3eaafae038d64300027c8 100644 (file)
@@ -1165,6 +1165,10 @@ result of BODY."
       ;; Reset edebug-mode to the initial mode.
       (setq edebug-mode edebug-initial-mode))
   (let* ((edebug-entered t)
+        (pre-command-hook (if (memq edebug-func pre-command-hook)
+                              nil pre-command-hook))
+        (post-command-hook (if (memq edebug-func post-command-hook)
+                               nil post-command-hook))
         (edebug-data  (get edebug-func 'edebug))
         ;; pull out parts of the edebug-data
         (edebug-func-mark (car edebug-data))   ; mark at function start