Commit 39b5c1cb authored by Austin Seipp's avatar Austin Seipp
Browse files

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: default avatarAustin Seipp <austin@well-typed.com>
parent 952f622c
......@@ -39,3 +39,11 @@ extern char *what_next_strs[];
#endif /* PRINTER_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -1148,3 +1148,11 @@ void heapCensus (Time t)
#endif
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -19,3 +19,11 @@ rtsBool strMatchesSelector (char* str, char* sel);
#include "EndPrivate.h"
#endif /* PROFHEAP_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -1145,3 +1145,11 @@ debugCCS( CostCentreStack *ccs )
#endif /* DEBUG */
#endif /* PROFILING */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -46,3 +46,11 @@ void debugCCS( CostCentreStack *ccs );
#include "EndPrivate.h"
#endif /* PROFILING_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -89,3 +89,11 @@ handleProfTick(void)
}
}
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -22,3 +22,11 @@ extern rtsBool performHeapProfile;
#include "EndPrivate.h"
#endif /* PROFTIMER_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -1051,3 +1051,11 @@ done:
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -74,3 +74,11 @@ interruptible(StgTSO *t)
#endif /* RAISEASYNC_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -2286,3 +2286,11 @@ belongToHeap(StgPtr p)
#endif /* DEBUG_RETAINER */
#endif /* PROFILING */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -51,3 +51,11 @@ extern W_ retainerStackBlocks ( void );
#endif /* PROFILING */
#endif /* RETAINERPROFILE_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -491,3 +491,11 @@ outputAllRetainerSet(FILE *prof_file)
#endif /* SECOND_APPROACH */
#endif /* PROFILING */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -203,3 +203,11 @@ void printRetainer(FILE *, retainer);
#endif /* PROFILING */
#endif /* RETAINERSET_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -620,3 +620,11 @@ void rts_done (void)
freeMyTask();
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -41,3 +41,11 @@ DllMain ( HINSTANCE hInstance STG_UNUSED
}
#endif
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -13,3 +13,11 @@ DllMain ( HINSTANCE hInstance
, LPVOID reserved
);
#endif
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -1859,3 +1859,11 @@ void freeRtsArgs(void)
freeProgArgv();
freeRtsArgv();
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -25,3 +25,11 @@ void freeRtsArgs (void);
#include "EndPrivate.h"
#endif /* RTSFLAGS_H */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -117,3 +117,11 @@ int hs_main (int argc, char *argv[], // program args
#endif
}
# endif /* BATCH_MODE */
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
......@@ -283,3 +283,11 @@ rtsDebugMsgFn(const char *s, va_list ap)
fflush(stderr);
}
}
// Local Variables:
// mode: C
// fill-column: 80
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment