tags 24773 patch quit Here is a patch to add support for :documentation to the Edebug specs of the macros where it can be used (see bug#28557 for a list of those, and some related bugs). cl-defgeneric was missing an Edebug spec and I reported that as bug#27747. Since it uses :documentation, I wrote one for it and included it here, so that bug will also be fixed by this patch. Before this patch there weren't any Edebug specs in lisp/emacs-lisp/generator.el, and lots of macros. Consequently, while iterators can be instrumented, they don't work under Edebug. I'll report that as a separate bug.