view .dir-locals.el @ 18988:12d1297d3a38

ls.m: Fix bug listing directories with spaces in name (bug #42920) * ls.m: Order brackets first within character class so that PCRE recognizes them rather than believing they end the character class.
author Rik <rik@octave.org>
date Tue, 05 Aug 2014 17:50:55 -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))))