allow setting of emacsclient

db4
Doug Coleman 2008-11-12 00:39:56 -06:00
parent eed1dd3d2b
commit 0d3a5e372a
1 changed files with 3 additions and 1 deletions

View File

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