view .dir-locals.el @ 21241:bae38398f5f1

use consistent style for all liboctave and libinterp include guards * mex.h, mexproto.h, mxarray.in.h, oct-obj.h, octave-default-image.h: Use include guard style that is consistent with other files in Octave.
author John W. Eaton <jwe@octave.org>
date Wed, 10 Feb 2016 12:21:36 -0500
parents 9ff04de067ce
children df203b20cfc6
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (and (buffer-file-name)
                          (string-match-p "\\.h\\'" (buffer-file-name))
                          (not (string-match-p "/gnulib/" (buffer-file-name))))
                 (c++-mode)
                 (c-set-style "gnu")))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))