Function: cl--generic-method-documentation
cl--generic-method-documentation is a byte-compiled function defined
in cl-generic.el.gz.
Signature
(cl--generic-method-documentation FUNCTION TYPE)
Documentation
Return info for all methods of FUNCTION (a symbol) applicable to TYPE.
The value returned is a list of elements of the form
(QUALIFIERS ARGS DOC).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-generic.el.gz
(defun cl--generic-method-documentation (function type)
"Return info for all methods of FUNCTION (a symbol) applicable to TYPE.
The value returned is a list of elements of the form
\(QUALIFIERS ARGS DOC)."
(let ((generic (cl--generic function))
(docs ()))
(when generic
(dolist (method (cl--generic-method-table generic))
(when (cl--generic-specializers-apply-to-type-p
(cl--generic-method-specializers method) type)
(push (cl--generic-method-info method) docs))))
docs))