emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master af0ea35ea0: Tweak how functions are formatted in Implementation i


From: Lars Ingebrigtsen
Subject: master af0ea35ea0: Tweak how functions are formatted in Implementation in *Help*
Date: Thu, 31 Mar 2022 07:38:39 -0400 (EDT)

branch: master
commit af0ea35ea00725d2700a5215b56b725dc0d88d0d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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(-)

diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el
index 279f73f36a..5cbdb9523a 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]