Skip to content

Commit bc0d1fb

Browse files
committed
Add modelines and related emacs chatter to rustc.
1 parent c599b32 commit bc0d1fb

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

src/comp/driver/rustc.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,17 @@ fn main(vec[str] args) -> () {
1919
i += 1;
2020
}
2121

22+
2223
}
24+
25+
26+
//
27+
// Local Variables:
28+
// mode: rust
29+
// fill-column: 78;
30+
// indent-tabs-mode: nil
31+
// c-basic-offset: 4
32+
// buffer-file-coding-system: utf-8-unix
33+
// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
34+
// End:
35+
//

src/comp/fe/lexer.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,14 @@ iter bytes(buf_reader rdr) -> u8 {
1818
}
1919
}
2020
}
21+
22+
//
23+
// Local Variables:
24+
// mode: rust
25+
// fill-column: 78;
26+
// indent-tabs-mode: nil
27+
// c-basic-offset: 4
28+
// buffer-file-coding-system: utf-8-unix
29+
// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
30+
// End:
31+
//

src/comp/fe/parser.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
//
3+
// Local Variables:
4+
// mode: rust
5+
// fill-column: 78;
6+
// indent-tabs-mode: nil
7+
// c-basic-offset: 4
8+
// buffer-file-coding-system: utf-8-unix
9+
// compile-command: "make -k -C ../.. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
10+
// End:
11+
//

0 commit comments

Comments
 (0)