+ treat .h as c++
This commit is contained in:
parent
c184579c43
commit
7ad2d12633
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
(defun mapnik-format-function ()
|
(defun mapnik-format-function ()
|
||||||
"Format buffer according to mapnik style (TODO)"
|
"Format buffer according to mapnik style (TODO)"
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.h\\'" . c++-mode))
|
||||||
|
(c-set-style "bsd")
|
||||||
(c-set-style "bsd")
|
(c-set-style "bsd")
|
||||||
(c-set-offset 'innamespace 0)
|
(c-set-offset 'innamespace 0)
|
||||||
(c-set-offset 'template-args-cont 'c-lineup-template-args)
|
(c-set-offset 'template-args-cont 'c-lineup-template-args)
|
||||||
|
|
Loading…
Reference in a new issue