npostavs@users.sourceforge.net writes: > npostavs@users.sourceforge.net writes: > >> The following patch prevents custom-declare-variable from being compiled >> and lets the docstrings get printed properly. Probably needs a bit more >> refinement though. > > Hmm, this approach might not work at all, it causes a bazillion "free > variable reference" warnings, one for each reference to a defcustom > variable. Okay, here is an alternate approach which decouples the docstring production from decompilation (note this isn't finished yet, I only implemented it for defcustom, so applying this patch currently prevents make-doc from finishing successfully).