From 4eea545bbc34adac27fbc7668542df0ec3b25f9f Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Tue, 10 Dec 2024 03:40:00 +0200 Subject: [PATCH] apropos-library: Don't list generic functions as features * lisp/apropos.el (apropos-library): Remove the separate 'cl-defmethod' case (bug#74727). --- lisp/apropos.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/apropos.el b/lisp/apropos.el index 0655fecd0e8..760e5be08f9 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -731,9 +731,8 @@ the output includes key-bindings of commands." ('require (push (cdr x) requires)) ('provide (push (cdr x) provides)) ('t nil) ; Skip "was an autoload" entries. - ;; FIXME: Print information about each individual method: both - ;; its docstring and specializers (bug#21422). - ('cl-defmethod (push (cadr x) provides)) + ;; FIXME: Print information about each method on generic + ;; functions: both the docstring and specializers (bug#21422). ;; FIXME: Add extension point (bug#72616). (_ (let ((sym (or (cdr-safe x) x))) (and sym (symbolp sym)