Mercurial > octave-nkf
view .dir-locals.el @ 13105:3d7a4a2d9cef
Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 06 Sep 2011 12:48:40 -0500 |
parents | d4dab9605c49 |
children | 7600200a54c8 |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72) (eval . (when (string-match "\\.h\\'" (buffer-file-name)) (c++-mode) (c-set-style "gnu"))))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))