[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65270: 30.0.50; `describe-function' issue with some methods
From: |
Stefan Monnier |
Subject: |
bug#65270: 30.0.50; `describe-function' issue with some methods |
Date: |
Mon, 14 Aug 2023 22:40:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> It seems there is an issue with `describe-function' of a method that
> calls `cl-call-next-method'. For a such method `describe-function' says
> that the method is "Undocumented" even if a doc string is present.
I pushed a patch to `master` which seems to fix this problem.
> Also the mentioned signature is weird. See an illustration below using
> a simple recipe, running 'emacs -Q'.
I think we still have a problem here when the method is not
byte-compiled, but I think the problem is in `help-function-arglist`
which decides to use the "raw arglist" from the interpreted closure
without looking at the arg names stashed in the docstring.
Stefan