view .dir-locals.el @ 21189:47765afaf131

style fixes for oct-conf-post.in.h * oct-conf-post.in.h: Use C-style comments for config file. Indent preprocessor blocks. Use "if defined" consistently instead of ifdef.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Feb 2016 00:40:14 -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))))