contrib/emacs fix

slava 2006-08-25 04:07:54 +00:00
parent e4ae52028f
commit 60773dd493
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,6 @@
REQUIRES: process ;
USING: kernel parser words sequences math process ;
USING: definitions kernel parser words sequences math process ;
IN: emacs
@ -9,6 +8,8 @@ IN: emacs
number>string "emacsclient --no-wait +" swap append " " rot append3 system ;
: emacs ( word -- )
dup word-file swap "line" word-prop emacsclient ;
where first2 emacsclient ;
[ emacsclient ] edit-hook set
PROVIDE: emacs ;