Factor/Emacs integration via emacsclient and emacs word
parent
06a4af7c00
commit
ca12a9dd9c
|
@ -0,0 +1,14 @@
|
|||
|
||||
REQUIRES: process ;
|
||||
|
||||
USING: kernel parser words sequences math process ;
|
||||
|
||||
IN: emacs
|
||||
|
||||
: emacsclient ( file line -- )
|
||||
number>string "emacsclient --no-wait +" swap append " " rot append3 system ;
|
||||
|
||||
: emacs ( word -- )
|
||||
dup word-file swap "line" word-prop emacsclient ;
|
||||
|
||||
PROVIDE: emacs ;
|
Loading…
Reference in New Issue