view .dir-locals.el @ 17879:8b7bbe021d0f

refuse to attempt to fix stl_algo.h except for g++ 4.8.2 * acinclude.m4 (OCTAVE_CHECK_BROKEN_STL_ALGO_H): Don't set cache variable to yes unless it appears that we are using g++ 4.8.2.
author John W. Eaton <jwe@octave.org>
date Thu, 07 Nov 2013 14:35:05 -0500
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))))