view .dir-locals.el @ 17629:1e8f8900a041

clean up partially constructed parse tree objects on parse errors (bug #40231) * oct-parse.in.yy (%destructor): New declaration of cleanup actions to take for items on the parser stack when a parse error occurs.
author John W. Eaton <jwe@octave.org>
date Fri, 11 Oct 2013 09:05:54 -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))))