From 0f83b8132a46c192fb0d36e47b33ae41f27a2805 Mon Sep 17 00:00:00 2001 From: Marije Baalman Date: Thu, 9 Apr 2009 21:09:47 +0000 Subject: [PATCH] sclang side of dev support git-svn-id: https://supercollider.svn.sourceforge.net/svnroot/supercollider/trunk@9039 a380766d-ff14-0410-b294-a243070f3f08 --- el/sclang-mode.el | 1 + sc/Emacs.sc | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/el/sclang-mode.el b/el/sclang-mode.el index f468eef..1ed5905 100644 --- a/el/sclang-mode.el +++ b/el/sclang-mode.el @@ -183,6 +183,7 @@ "if" "ir" "kr" + "tr" "loop" "while" ) diff --git a/sc/Emacs.sc b/sc/Emacs.sc index f9ed0bf..c0a0ab8 100644 --- a/sc/Emacs.sc +++ b/sc/Emacs.sc @@ -192,6 +192,12 @@ EmacsInterface { [time, \error, e.errorString] } }) + .put( \openDevSource, { | name | + var devpath = thisProcess.platform.devLoc( name ); + // devpath.postln; + Document.open( devpath ).front; + name -> devpath + }); } }