summaryrefslogtreecommitdiff
path: root/.dir-locals.el
blob: 2b8f690c8d38f994c990cabd31f451500668bf0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; Project-wide Emacs settings
(
 (erlang-mode (indent-tabs-mode . nil))
 (autoconf-mode (indent-tabs-mode . nil))
 (java-mode (indent-tabs-mode . nil))
 (perl-mode (indent-tabs-mode . nil))
 (xml-mode (indent-tabs-mode . nil))
 ;; In C code indentation is 4 spaces and in C++ 2 spaces
 (c++-mode
  (indent-tabs-mode . nil)
  (c-basic-offset . 2))
 (c-mode
  (indent-tabs-mode . nil)
  (c-basic-offset . 4)))