* lisp/emacs-lisp/edebug.el (edebug-remove-instrumentation):
Macros can also have edebug instrumentation, so remove that as
well (bug#38195).
(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)))))