better fix for emacs
parent
9656ce2e65
commit
44b0cf94ab
|
@ -4,14 +4,12 @@ IN: editors.emacs
|
||||||
|
|
||||||
: emacsclient ( file line -- )
|
: emacsclient ( file line -- )
|
||||||
[
|
[
|
||||||
\ emacsclient get ,
|
\ emacsclient get "emacsclient" or ,
|
||||||
"--no-wait" ,
|
"--no-wait" ,
|
||||||
"+" swap number>string append ,
|
"+" swap number>string append ,
|
||||||
,
|
,
|
||||||
] { } make try-process ;
|
] { } make try-process ;
|
||||||
|
|
||||||
\ emacsclient "emacsclient" set-global
|
|
||||||
|
|
||||||
: emacs ( word -- )
|
: emacs ( word -- )
|
||||||
where first2 emacsclient ;
|
where first2 emacsclient ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue