summaryrefslogtreecommitdiff
path: root/util/emacs
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-03-24 10:25:18 -0500
committerNathan Binkert <binkertn@umich.edu>2004-03-24 10:25:18 -0500
commit97c11561ff75a9b0d1df14f628c0a398d2e00854 (patch)
treed22ca1152b7087fcddc8400920d3dba4fbbbb0da /util/emacs
parent438c7f5b642e1fda5e2c6c3808023b9f8bd50320 (diff)
downloadgem5-97c11561ff75a9b0d1df14f628c0a398d2e00854.tar.xz
Don't indent namespaces because it just wastes space
--HG-- extra : convert_revision : 2236838a40bf77689a3d75df718c0da410c3fbb6
Diffstat (limited to 'util/emacs')
-rw-r--r--util/emacs/m5-c-style.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/util/emacs/m5-c-style.el b/util/emacs/m5-c-style.el
index 7f25e9f5f..b9d16a4b1 100644
--- a/util/emacs/m5-c-style.el
+++ b/util/emacs/m5-c-style.el
@@ -1,4 +1,4 @@
-; Copyright (c) 2003 The Regents of The University of Michigan
+; Copyright (c) 2003-2004 The Regents of The University of Michigan
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
@@ -28,12 +28,13 @@
; Steve Reinhardt
(c-add-style "m5"
- '((c-basic-offset . 4)
- (c-offsets-alist . ((substatement-open . 0)
- (inline-open . 0)
- (block-open . -4)
- (case-label . 2)
- (label . 2)
- (statement-case-intro . 2)
- (statement-case-open . 2)
- (access-label . -2)))))
+ '((c-basic-offset . 4)
+ (c-offsets-alist . ((substatement-open . 0)
+ (inline-open . 0)
+ (block-open . -4)
+ (case-label . 2)
+ (label . 2)
+ (statement-case-intro . 2)
+ (statement-case-open . 2)
+ (access-label . -2)
+ (innamespace . 0)))))