summaryrefslogtreecommitdiff
path: root/rts/eventlog
diff options
context:
space:
mode:
authorAustin Seipp <austin@well-typed.com>2014-07-21 23:08:31 -0500
committerAustin Seipp <austin@well-typed.com>2014-07-28 09:29:17 -0500
commit39b5c1cbd8950755de400933cecca7b8deb4ffcd (patch)
tree8174e56815d783286f2ac0901a61a260bde60acd /rts/eventlog
parent952f622c0cc91b1c904bfc359a864f39503aa50d (diff)
downloadhaskell-39b5c1cbd8950755de400933cecca7b8deb4ffcd.tar.gz
rts: add Emacs 'Local Variables' to every .c file
This will hopefully help ensure some basic consistency in the forward by overriding buffer variables. In particular, it sets the wrap length, the offset to 4, and turns off tabs. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/eventlog')
-rw-r--r--rts/eventlog/EventLog.c8
-rw-r--r--rts/eventlog/EventLog.h8
2 files changed, 16 insertions, 0 deletions
diff --git a/rts/eventlog/EventLog.c b/rts/eventlog/EventLog.c
index 0080da630f..a5a100e8d4 100644
--- a/rts/eventlog/EventLog.c
+++ b/rts/eventlog/EventLog.c
@@ -1254,3 +1254,11 @@ void postEventType(EventsBuf *eb, EventType *et)
}
#endif /* TRACING */
+
+// Local Variables:
+// mode: C
+// fill-column: 80
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// End:
diff --git a/rts/eventlog/EventLog.h b/rts/eventlog/EventLog.h
index 85370e9843..ff5e116d6b 100644
--- a/rts/eventlog/EventLog.h
+++ b/rts/eventlog/EventLog.h
@@ -170,3 +170,11 @@ INLINE_HEADER void postThreadLabel(Capability *cap STG_UNUSED,
#include "EndPrivate.h"
#endif /* TRACING_H */
+
+// Local Variables:
+// mode: C
+// fill-column: 80
+// indent-tabs-mode: nil
+// c-basic-offset: 4
+// buffer-file-coding-system: utf-8-unix
+// End: