summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-generic.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-03-31 13:36:40 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-03-31 13:38:33 +0200
commitaf0ea35ea00725d2700a5215b56b725dc0d88d0d (patch)
tree12738bf6842328c9b79c5c2f224639da8889b9d7 /lisp/emacs-lisp/cl-generic.el
parentce1f7f2467a59924134a89f61debd5a0a59a73ea (diff)
downloademacs-af0ea35ea00725d2700a5215b56b725dc0d88d0d.tar.gz
emacs-af0ea35ea00725d2700a5215b56b725dc0d88d0d.tar.bz2
emacs-af0ea35ea00725d2700a5215b56b725dc0d88d0d.zip
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 #'...
Diffstat (limited to 'lisp/emacs-lisp/cl-generic.el')
-rw-r--r--lisp/emacs-lisp/cl-generic.el2
1 files changed, 1 insertions, 1 deletions
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)