Mercurial > emacs
changeset 4761:fd03ee47c0b2
(edebug-enter): Don't call the current function being debugged in
pre-command-hook or post-command-hook.
author | Brian Fox <bfox@gnu.org> |
---|---|
date | Tue, 21 Sep 1993 07:18:36 +0000 |
parents | f3808bb8a993 |
children | 5eaa5d4eaaca |
files | lisp/emacs-lisp/edebug.el |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/edebug.el Tue Sep 21 07:12:36 1993 +0000 +++ b/lisp/emacs-lisp/edebug.el Tue Sep 21 07:18:36 1993 +0000 @@ -1165,6 +1165,10 @@ ;; 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