]> gitweb.factorcode.org Git - factor.git/commitdiff
editors: only supported-platforms are available-editors
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 29 Jan 2023 01:28:36 +0000 (17:28 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 29 Jan 2023 01:28:36 +0000 (17:28 -0800)
basis/editors/editors.factor

index bdd527e012959a9a26a4a206a04e169a36838321..9f1fd45856dd30b66c11ca123fcac23c82b6dff7 100644 (file)
@@ -13,7 +13,8 @@ SYMBOL: editor-class
 
 : available-editors ( -- seq )
     "editors" disk-child-vocab-names
-    { "editors.ui" "editors.private" } diff ;
+    { "editors.ui" "editors.private" } diff
+    [ vocab-platforms supported-platform? ] filter ;
 
 : editor-restarts ( -- alist )
     available-editors