view .dir-locals.el @ 18092:8cf2b8617e85

also check for xtest in __run_test_suite__ * __run_test_suite__.m (has_tests): Also return true for files that only contain %!xtest.
author John W. Eaton <jwe@octave.org>
date Thu, 05 Dec 2013 10:48:21 -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))))