view .dir-locals.el @ 17791:224e76250443

Use GNU style coding conventions for code in examples/ * examples/embedded.cc, examples/fortdemo.cc, examples/helloworld.cc, examples/make_int.cc, examples/mycell.c, examples/myfeval.c, examples/myfunc.c, examples/mypow2.c, examples/myprop.c, examples/myset.c, examples/mystring.c, examples/mystruct.c, examples/oct_demo.cc, examples/oregonator.cc: Use GNU style coding conventions for code in examples/
author Rik <rik@octave.org>
date Tue, 29 Oct 2013 10:28:39 -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))))