Windows workaround

db4
Slava Pestov 2008-11-16 19:15:09 -06:00
parent 918051ebe4
commit 84ce5c3b91
1 changed files with 2 additions and 2 deletions

View File

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