emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 671862f: apropos-library: Skip obvious duplicates


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-25 671862f: apropos-library: Skip obvious duplicates; don't error on generics
Date: Thu, 07 Jan 2016 23:27:11 +0000

branch: emacs-25
commit 671862f6b3089c3a503c1b6936a821ad54429359
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    apropos-library: Skip obvious duplicates; don't error on generics
    
    * lisp/apropos.el (apropos-library): Skip "was an autoload"
    entries, to avoid obvious duplicates.  For each cl-defmethod
    entry, take just its function symbol (bug#21422).
---
 lisp/apropos.el |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lisp/apropos.el b/lisp/apropos.el
index 36a729a..f165685 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -676,6 +676,10 @@ the output includes key-bindings of commands."
        ;; (autoload (push (cdr x) autoloads))
        (`require (push (cdr x) requires))
        (`provide (push (cdr x) provides))
+        (`t nil) ; Skip "was an autoload" entries.
+        ;; FIXME: Print information about each indivial method: both
+        ;; its docstring and specializers (bug#21422).
+        (`cl-defmethod (push (cadr x) provides))
        (_ (push (or (cdr-safe x) x) symbols))))
     (let ((apropos-pattern "")) ;Dummy binding for apropos-symbols-internal.
       (apropos-symbols-internal



reply via email to

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