Further fixes for cl--generic-describe and (function ...)
* lisp/emacs-lisp/cl-generic.el (cl--generic-describe): Fix the #' problem for defmethods, too (bug#54628).
This commit is contained in:
parent
f365607bc0
commit
773d4104a5
1 changed files with 6 additions and 7 deletions
|
@ -1096,13 +1096,12 @@ 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.
|
||||
(if (length> (nth 0 info) 0)
|
||||
(insert (format "%s%S" (nth 0 info)
|
||||
(let ((print-quoted nil))
|
||||
(nth 1 info))))
|
||||
;; Make the non-":extra" bits look more like `C-h f'
|
||||
;; output.
|
||||
(insert (format "%S" (cons function (nth 1 info)))))
|
||||
(let ((print-quoted nil))
|
||||
(if (length> (nth 0 info) 0)
|
||||
(insert (format "%s%S" (nth 0 info) (nth 1 info)))
|
||||
;; Make the non-":extra" bits look more like `C-h f'
|
||||
;; output.
|
||||
(insert (format "%S" (cons function (nth 1 info))))))
|
||||
(let* ((met-name (cl--generic-load-hist-format
|
||||
function
|
||||
(cl--generic-method-qualifiers method)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue