view .dir-locals.el @ 21599:f29d68e24c5a

ode23.m, ode45.m: More reformatting of demos to Octave coding standards. * ode23.m, ode45.m: More reformatting of demos to Octave coding standards.
author Rik <rik@octave.org>
date Sun, 10 Apr 2016 09:49:12 -0700
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))))