Tweak how functions are formatted in Implementation in *Help*

* lisp/emacs-lisp/cl-generic.el (cl--generic-describe): Include
the function name in the implementations (bug#54628).  This
clarifies what we're talking about here, and avoids getting
(function ...) translated into #'...
This commit is contained in:
Lars Ingebrigtsen 2022-03-31 13:36:40 +02:00
parent ce1f7f2467
commit af0ea35ea0

View file

@ -1098,7 +1098,7 @@ MET-NAME is as returned by `cl--generic-load-hist-format'."
(dolist (method (cl--generic-method-table generic))
(let* ((info (cl--generic-method-info method)))
;; FIXME: Add hyperlinks for the types as well.
(insert (format "%s%S" (nth 0 info) (nth 1 info)))
(insert (format "%s%S" (nth 0 info) (cons function (nth 1 info))))
(let* ((met-name (cl--generic-load-hist-format
function
(cl--generic-method-qualifiers method)