chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31b8be0
)
doc/list-exports: Use `documentation' to find more categories.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 6 Oct 2019 21:24:58 +0000
(22:24 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 6 Oct 2019 23:18:27 +0000
(
00:18
+0100)
doc/list-exports
patch
|
blob
|
blame
|
history
diff --git
a/doc/list-exports
b/doc/list-exports
index 9fc38bbb9bc334fe23162041fabc45f335864600..1d9b0c4a2ad5797853fbadf1bd24dfc877eacc6b 100755
(executable)
--- a/
doc/list-exports
+++ b/
doc/list-exports
@@
-358,9
+358,9
@@
categorizing the kinds of definitions that SYMBOL has."
(let ((things nil))
categorizing the kinds of definitions that SYMBOL has."
(let ((things nil))
- (when (
boundp symbol
)
+ (when (
or (boundp symbol) (documentation symbol 'variable)
)
(push (if (constantp symbol) :constant :variable) things))
(push (if (constantp symbol) :constant :variable) things))
- (when (
fboundp symbol
)
+ (when (
or (fboundp symbol) (documentation symbol 'function)
)
(push (cond ((macro-function symbol) :macro)
((typep (fdefinition symbol) 'generic-function)
:generic)
(push (cond ((macro-function symbol) :macro)
((typep (fdefinition symbol) 'generic-function)
:generic)
@@
-370,8
+370,8
@@
(generic-function (push :setf-generic things))
(function (push :setf-function things))
(null)))
(generic-function (push :setf-generic things))
(function (push :setf-function things))
(null)))
- (when (
find-class symbol nil
)
- (push
:class
things))
+ (when (
or (find-class symbol nil) (documentation symbol 'type)
)
+ (push
(if (find-class symbol nil) :class :type)
things))
(when (specialized-on-p #'sod:expand-c-type-spec 0 symbol)
(push :c-type-spec things))
(when (specialized-on-p #'sod:expand-c-type-form 0 symbol)
(when (specialized-on-p #'sod:expand-c-type-spec 0 symbol)
(push :c-type-spec things))
(when (specialized-on-p #'sod:expand-c-type-form 0 symbol)