view .dir-locals.el @ 20127:a42de4173533

also provide stack traces for errors in script files (bug #44862) * error.cc (error_2, warning_1): Check whether we are in user code rather than at the top-level symbol table to determine whether to display a stack trace.
author John W. Eaton <jwe@octave.org>
date Fri, 24 Apr 2015 22:31:21 -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))))