diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/edebug.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 6b55d7cff03..5d527044108 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -4580,8 +4580,9 @@ instrumentation for, defaulting to all functions." (let ((functions nil)) (mapatoms (lambda (symbol) - (when (and (functionp symbol) - (get symbol 'edebug)) + (when (and (get symbol 'edebug) + (or (functionp symbol) + (macrop symbol))) (let ((unwrapped (edebug-unwrap* (symbol-function symbol)))) (unless (equal unwrapped (symbol-function symbol)) (push symbol functions))))) |