moving some things from platform specific to ide specific for emacs-scel

git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9517 a380766d-ff14-0410-b294-a243070f3f08
This commit is contained in:
Marije Baalman 2009-11-14 20:22:31 +00:00
parent d1639c1cbb
commit 6e840831b6
2 changed files with 8 additions and 0 deletions

View file

@ -222,6 +222,7 @@ Emacs {
}{
initialized = true;
Document.implementationClass = ScelDocument;
StartUp.add( { Document.implementationClass.startup; } );
thisProcess.platform.declareFeature( \emacs );
outStream = CollStream.on(String.new);
outFile = File(outFileName, "w");

7
sc/extPlatform.sc Normal file
View file

@ -0,0 +1,7 @@
+ Platform {
recompile{
if ( this.hasFeature( \emacs ) ) {
Emacs.evalLispExpression( "(sclang-start)" );
};
}
}