1 USING: combinators.short-circuit editors kernel make
2 math.parser namespaces sequences system vocabs ;
6 emacsclient editor-class set-global
8 SYMBOL: emacsclient-path
10 HOOK: default-emacsclient os ( -- path )
12 M: object default-emacsclient ( -- path ) "emacsclient" ;
14 M: emacsclient editor-command ( file line -- command )
17 [ emacsclient-path get-global ]
18 [ default-emacsclient dup emacsclient-path set-global ]
21 number>string "+" prepend ,
25 os windows? [ "editors.emacs.windows" require ] when