summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el9
-rw-r--r--lib/Plugins/CCpp.cpp2
-rw-r--r--lib/Utils/backtrace.c2
-rw-r--r--lib/Utils/strbuf.c2
-rw-r--r--src/utils/abrt-backtrace.c2
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.