~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fdc3e50
)
doc/list-exports.lisp: Sort sibling classes by name in the tree.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 30 Aug 2015 09:58:38 +0000
(10:58 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 13 Sep 2015 17:28:27 +0000
(18:28 +0100)
doc/list-exports.lisp
patch
|
blob
|
blame
|
history
diff --git
a/doc/list-exports.lisp
b/doc/list-exports.lisp
index
71a06d9
..
710da87
100644
(file)
--- a/
doc/list-exports.lisp
+++ b/
doc/list-exports.lisp
@@
-181,7
+181,8
@@
package))
(remove super
(sb-mop:class-direct-superclasses this))))
package))
(remove super
(sb-mop:class-direct-superclasses this))))
- (dolist (sub (reverse (gethash this subs)))
+ (dolist (sub (sort (copy-list (gethash this subs))
+ #'string< :key #'class-name))
(walk-down sub this (1+ depth)))))
(walk-down (find-class t) nil 0))))
(walk-down sub this (1+ depth)))))
(walk-down (find-class t) nil 0))))
@@
-206,9
+207,10
@@
(labels ((components (comp)
(slot-value comp 'asdf::components))
(files (comp)
(labels ((components (comp)
(slot-value comp 'asdf::components))
(files (comp)
- (remove-if-not (lambda (comp)
+ (
sort (
remove-if-not (lambda (comp)
(typep comp 'asdf:cl-source-file))
(typep comp 'asdf:cl-source-file))
- (components comp)))
+ (components comp))
+ #'string< :key #'asdf:component-name))
(by-name (comp name)
(find name (components comp)
:test #'string= :key #'asdf:component-name))
(by-name (comp name)
(find name (components comp)
:test #'string= :key #'asdf:component-name))