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
This commit is contained in:
parent
16bda9c03e
commit
ad1e46203b
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
; All rights reserved.
|
||||||
;
|
;
|
||||||
; Redistribution and use in source and binary forms, with or without
|
; Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
|
|
||||||
(c-add-style "m5"
|
(c-add-style "m5"
|
||||||
'((c-basic-offset . 4)
|
'((c-basic-offset . 4)
|
||||||
|
(indent-tabs-mode . nil)
|
||||||
(c-offsets-alist . ((substatement-open . 0)
|
(c-offsets-alist . ((substatement-open . 0)
|
||||||
(inline-open . 0)
|
(inline-open . 0)
|
||||||
(block-open . -4)
|
(block-open . -4)
|
||||||
|
|
Loading…
Reference in a new issue