From: Nathan Binkert Date: Mon, 30 Jan 2006 19:32:00 +0000 (-0500) Subject: Make the M5 Emacs C style default to inserting spaces instead X-Git-Tag: m5_2.0_beta1~87^2~113^2^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad1e46203b2355af86d183c2d89a39a3ee29c72b;p=gem5.git 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 --- 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)