better fix for emacs
parent
9656ce2e65
commit
44b0cf94ab
|
@ -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 ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue