From 60773dd493796d1e555878a174fb8e6bafcac5a1 Mon Sep 17 00:00:00 2001 From: slava Date: Fri, 25 Aug 2006 04:07:54 +0000 Subject: [PATCH] contrib/emacs fix --- contrib/emacs.factor | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/emacs.factor b/contrib/emacs.factor index 9f52274b1b..131be3fd6c 100644 --- a/contrib/emacs.factor +++ b/contrib/emacs.factor @@ -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 ; \ No newline at end of file