]> gitweb.factorcode.org Git - factor.git/commitdiff
emacs: fix emacsclient stack effect
authorchris.double <chris.double@double.co.nz>
Sun, 8 Oct 2006 10:37:52 +0000 (10:37 +0000)
committerchris.double <chris.double@double.co.nz>
Sun, 8 Oct 2006 10:37:52 +0000 (10:37 +0000)
It was leaving the result of 'system' on the stack.

contrib/emacs.factor

index 28fcfc90e619242b799027ada0ef9d0948527493..d2b4cb96f94fac13ff6aac66dabda9f40bc2ad74 100644 (file)
@@ -6,7 +6,7 @@ namespaces ;
 IN: emacs
 
 : emacsclient ( file line -- )
-number>string "emacsclient --no-wait +" swap append " " rot append3 system ;
+number>string "emacsclient --no-wait +" swap append " " rot append3 system drop ;
 
 : emacs ( word -- )
 where first2 emacsclient ;