summaryrefslogtreecommitdiff
path: root/util/emacs
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2006-01-30 14:32:00 -0500
committerNathan Binkert <binkertn@umich.edu>2006-01-30 14:32:00 -0500
commitad1e46203b2355af86d183c2d89a39a3ee29c72b (patch)
tree6773c03ca105916251aaf42f4389c2e255a46e2b /util/emacs
parent16bda9c03eb79e223f3cbc03ef80e75b7e27f266 (diff)
downloadgem5-ad1e46203b2355af86d183c2d89a39a3ee29c72b.tar.xz
Make the M5 Emacs C style default to inserting spaces instead
of tabs so using different editors is consistent util/emacs/m5-c-style.el: Default to inserting spaces instead of tabs so using different editors is consistent --HG-- extra : convert_revision : 719e5e980e088b0f4787b198de18cddceabd0140
Diffstat (limited to 'util/emacs')
-rw-r--r--util/emacs/m5-c-style.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/emacs/m5-c-style.el b/util/emacs/m5-c-style.el
index b9d16a4b1..9578e3dbe 100644
--- a/util/emacs/m5-c-style.el
+++ b/util/emacs/m5-c-style.el
@@ -1,4 +1,4 @@
-; Copyright (c) 2003-2004 The Regents of The University of Michigan
+; Copyright (c) 2003-2004, 2006 The Regents of The University of Michigan
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
@@ -29,6 +29,7 @@
(c-add-style "m5"
'((c-basic-offset . 4)
+ (indent-tabs-mode . nil)
(c-offsets-alist . ((substatement-open . 0)
(inline-open . 0)
(block-open . -4)