mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
cl-generic.el: Fix docstring for methods with cl-call-next-method
* lisp/emacs-lisp/cl-generic.el (cl--generic-method-info): Fix docstring extraction for "curried" methods (bug#65270).
This commit is contained in:
parent
a8365aa841
commit
be5917c2ea
@ -1101,10 +1101,10 @@ MET-NAME is as returned by `cl--generic-load-hist-format'."
|
||||
(qualifiers (cl--generic-method-qualifiers method))
|
||||
(call-con (cl--generic-method-call-con method))
|
||||
(function (cl--generic-method-function method))
|
||||
(args (help-function-arglist (if (not (eq call-con 'curried))
|
||||
function
|
||||
(funcall function #'ignore))
|
||||
'names))
|
||||
(function (if (not (eq call-con 'curried))
|
||||
function
|
||||
(funcall function #'ignore)))
|
||||
(args (help-function-arglist function 'names))
|
||||
(docstring (documentation function))
|
||||
(qual-string
|
||||
(if (null qualifiers) ""
|
||||
|
Loading…
Reference in New Issue
Block a user