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:
parent
d1639c1cbb
commit
6e840831b6
2 changed files with 8 additions and 0 deletions
|
@ -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
7
sc/extPlatform.sc
Normal file
|
@ -0,0 +1,7 @@
|
|||
+ Platform {
|
||||
recompile{
|
||||
if ( this.hasFeature( \emacs ) ) {
|
||||
Emacs.evalLispExpression( "(sclang-start)" );
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue