projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.48.30: adjust DOCUMENTATION and SB-INTROSPECT
[sbcl.git]
/
src
/
pcl
/
documentation.lisp
diff --git
a/src/pcl/documentation.lisp
b/src/pcl/documentation.lisp
index
a625221
..
e992894
100644
(file)
--- a/
src/pcl/documentation.lisp
+++ b/
src/pcl/documentation.lisp
@@
-40,7
+40,10
@@
(or (random-documentation x 'function)
;; Nothing under the name, check the function object.
(when (fboundp x)
(or (random-documentation x 'function)
;; Nothing under the name, check the function object.
(when (fboundp x)
- (fun-doc (or (macro-function x) (fdefinition x)))))))
+ (fun-doc (if (special-operator-p x)
+ (fdefinition x)
+ (or (macro-function x)
+ (fdefinition x))))))))
(defmethod documentation ((x symbol) (doc-type (eql 'compiler-macro)))
(awhen (compiler-macro-function x)
(defmethod documentation ((x symbol) (doc-type (eql 'compiler-macro)))
(awhen (compiler-macro-function x)