+ treat .h as c++

This commit is contained in:
artemp 2013-02-28 13:59:12 -05:00
parent c184579c43
commit 7ad2d12633

View file

@ -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)