about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-08-12 10:29:23 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-08-12 10:29:23 -0700
commitbc0d1fbae538fbb673fd1d03e0efcf89874ed88d (patch)
tree171769fbd01bd54a4e9660f858e21d92b700dd72
parentc599b32646272396f436db24303aed64e6766361 (diff)
downloadrust-bc0d1fbae538fbb673fd1d03e0efcf89874ed88d.tar.gz
rust-bc0d1fbae538fbb673fd1d03e0efcf89874ed88d.zip
Add modelines and related emacs chatter to rustc.
-rw-r--r--src/comp/driver/rustc.rs13
-rw-r--r--src/comp/fe/lexer.rs11
-rw-r--r--src/comp/fe/parser.rs11
3 files changed, 35 insertions, 0 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index e5a614bacee..1a0329c1158 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -19,4 +19,17 @@ fn main(vec[str] args) -> () {
     i += 1;
   }
 
+
 }
+
+
+//
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End:
+//
diff --git a/src/comp/fe/lexer.rs b/src/comp/fe/lexer.rs
index 87809b3b86b..7a311f37310 100644
--- a/src/comp/fe/lexer.rs
+++ b/src/comp/fe/lexer.rs
@@ -18,3 +18,14 @@ iter bytes(buf_reader rdr) -> u8 {
     }
   }
 }
+
+//
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End:
+//
diff --git a/src/comp/fe/parser.rs b/src/comp/fe/parser.rs
index e69de29bb2d..406c811921d 100644
--- a/src/comp/fe/parser.rs
+++ b/src/comp/fe/parser.rs
@@ -0,0 +1,11 @@
+
+//
+// Local Variables:
+// mode: rust
+// fill-column: 78;
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
+// End:
+//