1 ! File: aquamacs.factor
4 ! Description: Another fine Factor file!
5 ! Copyright (C) 2017 Dave Carlton.
6 ! See http://factorcode.org/license.txt for BSD license.
8 USING: combinators.short-circuit editors io.standard-paths
9 kernel make math.parser namespaces sequences system ;
13 aquamacs editor-class set-global
15 HOOK: find-aquamacs os ( -- path )
17 M: object find-aquamacs ( -- path )
18 "aquamacs" ?find-in-path ;
20 M: aquamacs editor-command ( file line -- command )
23 "/Applications/Aquamacs.app/Contents/MacOS/bin/aquamacs" ,