diff options
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r-- | lisp/apropos.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index 77c5023b0ba..3c1a4136fbf 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -1,6 +1,6 @@ ;;; apropos.el --- apropos commands for users and programmers -;; Copyright (C) 1989, 1994-1995, 2001-2015 Free Software Foundation, +;; Copyright (C) 1989, 1994-1995, 2001-2016 Free Software Foundation, ;; Inc. ;; Author: Joe Wells <jbw@bigbird.bu.edu> @@ -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 individual 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 |