view .dir-locals.el @ 19145:b5c03bcc640a

nproc: Fix unwind_protect_cleanup block in %!test * nproc.cc: Fix unwind_protect_cleanup to unset OMP_NUM_THREADS if it wasn't set before the test was run.
author Mike Miller <mtmiller@ieee.org>
date Sun, 21 Sep 2014 16:33:08 -0400
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))))