view .dir-locals.el @ 18061:832ecfda1d3c

edit.m: Respond correctly to either file separator (bug #40726). * edit.m: Test for either file separator when necessary.
author Rik <rik@octave.org>
date Tue, 03 Dec 2013 12:30:50 -0800
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))))