2005-09-19 Chris Toshok <toshok@ximian.com>
[mono.git] / mcs / mcs / driver.cs
index bb6e42a8e32eba0f7460833537efa4300e1f4160..a8130b6139c977a75001b09a36644b4e5c776f49 100644 (file)
@@ -281,6 +281,8 @@ namespace Mono.CSharp
                
                public static int Main (string[] args)
                {
+                       Location.InEmacs = Environment.GetEnvironmentVariable ("EMACS") == "t";
+
                        bool ok = MainDriver (args);
                        
                        if (ok && Report.Errors == 0) {