view .dir-locals.el @ 18053:7c9148b235eb

runtests.m: Also runtests for files that only contain %!xtest (bug #40780) * runtests.m : Add xtest to regexp searching for test code in m-file.
author Rik <rik@octave.org>
date Tue, 03 Dec 2013 09:04:09 -0800
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))))