diff options
| author | Lars Ingebrigtsen | 2022-03-31 13:36:40 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-03-31 13:38:33 +0200 |
| commit | af0ea35ea00725d2700a5215b56b725dc0d88d0d (patch) | |
| tree | 12738bf6842328c9b79c5c2f224639da8889b9d7 /lisp | |
| parent | ce1f7f2467a59924134a89f61debd5a0a59a73ea (diff) | |
| download | emacs-af0ea35ea00725d2700a5215b56b725dc0d88d0d.tar.gz 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')
| -rw-r--r-- | lisp/emacs-lisp/cl-generic.el | 2 |
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'." | |||
| 1098 | (dolist (method (cl--generic-method-table generic)) | 1098 | (dolist (method (cl--generic-method-table generic)) |
| 1099 | (let* ((info (cl--generic-method-info method))) | 1099 | (let* ((info (cl--generic-method-info method))) |
| 1100 | ;; FIXME: Add hyperlinks for the types as well. | 1100 | ;; FIXME: Add hyperlinks for the types as well. |
| 1101 | (insert (format "%s%S" (nth 0 info) (nth 1 info))) | 1101 | (insert (format "%s%S" (nth 0 info) (cons function (nth 1 info)))) |
| 1102 | (let* ((met-name (cl--generic-load-hist-format | 1102 | (let* ((met-name (cl--generic-load-hist-format |
| 1103 | function | 1103 | function |
| 1104 | (cl--generic-method-qualifiers method) | 1104 | (cl--generic-method-qualifiers method) |