From af0ea35ea00725d2700a5215b56b725dc0d88d0d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 31 Mar 2022 13:36:40 +0200 Subject: 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 #'... --- lisp/emacs-lisp/cl-generic.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/cl-generic.el') diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 279f73f36a2..5cbdb9523ac 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -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) -- cgit v1.2.3