Emacs settings for C++ files.

This commit is contained in:
Stefan Thomas
2012-11-23 19:24:33 -08:00
parent 4fbb6a2b5a
commit 3e08bc7dc1

10
.dir-locals.el Normal file
View File

@@ -0,0 +1,10 @@
;; Emacs - Code style and formatting settings
;; C++
((c++-mode
(indent-tabs-mode . t)
(tab-width . 4)
(c-basic-offset . 4)))
;; Headers should open in C++ mode
((c-mode . ((mode . c++))))