factor/contrib/textmate/textmate.factor

11 lines
294 B
Factor
Raw Normal View History

2006-09-08 03:30:27 -04:00
REQUIRES: contrib/embedded contrib/process ;
USING: definitions embedded io kernel parser prettyprint process
sequences namespaces ;
IN: textmate
: textmate-location ( file line -- )
[ "mate -a \"" % over % "\" -l " % # ] "" make system drop ;
[ textmate-location ] edit-hook set-global