view .dir-locals.el @ 18464:917f1af7d2e4

Additional format options for matlab compatibility (bug #41541). * pr-output.cc (set_format_style): added new condensed argument options to if/elseif option parsing tree.
author Markus Bergholz <markuman@gmail.com>
date Mon, 10 Feb 2014 18:49:28 +0100
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))))