]> gitweb.factorcode.org Git - factor.git/commitdiff
Windows workaround
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 17 Nov 2008 01:15:09 +0000 (19:15 -0600)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 17 Nov 2008 01:15:09 +0000 (19:15 -0600)
basis/editors/emacs/emacs.factor

index 1550fccc0b3ae3f132058000bea721d18b8876c5..79387f9820dae12c0f97a442554350440358da80 100644 (file)
@@ -1,11 +1,11 @@
 USING: definitions io.launcher kernel parser words sequences math
-math.parser namespaces editors make ;
+math.parser namespaces editors make system ;
 IN: editors.emacs
 
 : emacsclient ( file line -- )
     [
         \ emacsclient get "emacsclient" or ,
-        "--no-wait" ,
+        os windows? [ "--no-wait" , ] unless
         "+" swap number>string append ,
         ,
     ] { } make try-process ;