diff options
author | Karel Klic <kklic@redhat.com> | 2010-04-09 10:46:27 +0200 |
---|---|---|
committer | Karel Klic <kklic@redhat.com> | 2010-04-09 10:46:27 +0200 |
commit | d74d9e7731aa5c2e8113237fe938adb252465c37 (patch) | |
tree | 02560e6ebda8f532e58392e3abcf36b34b62c2d0 | |
parent | 6f66d156c5ad1e0b361e4a837cfba46a1ed8603b (diff) | |
download | abrt-d74d9e7731aa5c2e8113237fe938adb252465c37.tar.gz abrt-d74d9e7731aa5c2e8113237fe938adb252465c37.tar.xz abrt-d74d9e7731aa5c2e8113237fe938adb252465c37.zip |
Emacs project-wide code-style settings
-rw-r--r-- | .dir-locals.el | 9 | ||||
-rw-r--r-- | lib/Plugins/CCpp.cpp | 2 | ||||
-rw-r--r-- | lib/Utils/backtrace.c | 2 | ||||
-rw-r--r-- | lib/Utils/strbuf.c | 2 | ||||
-rw-r--r-- | src/utils/abrt-backtrace.c | 2 |
5 files changed, 13 insertions, 4 deletions
diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..27a148d3 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,9 @@ +;; Emacs settings for ABRT +((c-mode . ((c-file-style . "BSD") + (c-basic-offset . 4) + (indent-tabs-mode . nil) + (show-trailing-whitespace . t))) + (c++-mode . ((c-file-style . "BSD") + (c-basic-offset . 4) + (indent-tabs-mode . nil) + (show-trailing-whitespace . t)))) diff --git a/lib/Plugins/CCpp.cpp b/lib/Plugins/CCpp.cpp index 2911c9be..9bdcda9f 100644 --- a/lib/Plugins/CCpp.cpp +++ b/lib/Plugins/CCpp.cpp @@ -1,4 +1,4 @@ -/* -*-mode:c++;c-file-style:"bsd";c-basic-offset:4;indent-tabs-mode:nil-*- +/* CCpp.cpp Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) diff --git a/lib/Utils/backtrace.c b/lib/Utils/backtrace.c index 3708eb17..9c77d8c9 100644 --- a/lib/Utils/backtrace.c +++ b/lib/Utils/backtrace.c @@ -1,4 +1,4 @@ -/* -*-mode:c;c-file-style:"bsd";c-basic-offset:4;indent-tabs-mode:nil-*- +/* Copyright (C) 2009 RedHat inc. This program is free software; you can redistribute it and/or modify diff --git a/lib/Utils/strbuf.c b/lib/Utils/strbuf.c index ab872543..4c9bddaa 100644 --- a/lib/Utils/strbuf.c +++ b/lib/Utils/strbuf.c @@ -1,4 +1,4 @@ -/* -*-mode:c;c-file-style:"bsd";c-basic-offset:4;indent-tabs-mode:nil-*- +/* String buffer implementation Copyright (C) 2009 RedHat inc. diff --git a/src/utils/abrt-backtrace.c b/src/utils/abrt-backtrace.c index e568ed1c..8ea7e20e 100644 --- a/src/utils/abrt-backtrace.c +++ b/src/utils/abrt-backtrace.c @@ -1,4 +1,4 @@ -/* -*-mode:c++;c-file-style:"bsd";c-basic-offset:4;indent-tabs-mode:nil-*- +/* main.cpp - parses command line arguments Copyright (C) 2009 RedHat inc. |