]> gitweb.factorcode.org Git - factor.git/commitdiff
better fix for emacs
authorDoug Coleman <erg@secrets.local>
Wed, 12 Nov 2008 07:14:19 +0000 (01:14 -0600)
committerDoug Coleman <erg@secrets.local>
Wed, 12 Nov 2008 07:14:19 +0000 (01:14 -0600)
basis/editors/emacs/emacs.factor

index eae6a3077b0b651890359958795d060a9e5170a0..1550fccc0b3ae3f132058000bea721d18b8876c5 100644 (file)
@@ -4,14 +4,12 @@ IN: editors.emacs
 
 : emacsclient ( file line -- )
     [
-        \ emacsclient get ,
+        \ emacsclient get "emacsclient" or ,
         "--no-wait" ,
         "+" swap number>string append ,
         ,
     ] { } make try-process ;
 
-\ emacsclient "emacsclient" set-global
-
 : emacs ( word -- )
     where first2 emacsclient ;