]> gitweb.factorcode.org Git - factor.git/commitdiff
Load order fix
authorslava <slava@factorcode.org>
Sun, 17 Dec 2006 21:31:03 +0000 (21:31 +0000)
committerslava <slava@factorcode.org>
Sun, 17 Dec 2006 21:31:03 +0000 (21:31 +0000)
core/help/markup.factor
core/help/topics.factor

index 3f9c8a49f3d9b0434c3125b9951677caca38607f..bf74290b9738405137e8bf9ca806762f90475a3c 100644 (file)
@@ -262,3 +262,9 @@ M: f print-element drop ;
     [ dup article-title 2array ] map
     [ [ second ] 2apply <=> ] sort
     0 <column> ;
+
+: error? ( word -- ? )
+    \ $error-description swap word-help elements empty? not ;
+
+: all-errors ( -- seq )
+    all-words [ error? ] subset sort-articles ;
index 32645c4cdced907230676c67e32af3ef76180757..fda7892e0f6124b66a9b7c0823d5ff470fa016b8 100644 (file)
@@ -35,12 +35,6 @@ M: f article-content drop \ f article-content ;
     articles get hash-keys
     all-words [ word-help ] subset append ;
 
-: error? ( word -- ? )
-    \ $error-description swap word-help elements empty? not ;
-
-: all-errors ( -- seq )
-    all-words [ error? ] subset natural-sort ;
-
 GENERIC: elements* ( elt-type element -- )
 
 : elements ( elt-type element -- seq ) [ elements* ] { } make ;