view .dir-locals.el @ 20471:bf47ac616bc0

Backout 9c7dd58b57e4 and have configure generate oct-conf-post.h Temporary backout until a better way can be found to place oct-conf-post.h in the build directory rather than just the sourc directory.
author Rik <rik@octave.org>
date Mon, 10 Aug 2015 08:45:06 -0700
parents 9ff04de067ce
children
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))))