[Ecls-list] Function documentation still not working
Goffioul Michael
goffioul at imec.be
Mon Jun 13 05:26:18 UTC 2005
> > > (defun f1 () "Documentation string" nil)
> > F1
> > > (documentation 'f1 'function)
> > NIL
> > > (si::get-documentation 'f1 'function)
> > "Documentation string"
>
> Additional info:
>
> (si::get-documentation (fdefinition 'f1) 'function) => NIL
> (si::get-documentation 'f1 'function) => "Documentation string"
>
> The problem is that (documentation 'f1 'function) gets translated
> info the first form, hence it returns NIL.
Additional problem: it looks like function documentation gets lost
during compilation. This only happens for plain functions, generic
functions keep their documentation string.
Michael.
More information about the ecl-devel
mailing list