view .dir-locals.el @ 18511:83f5f2d41486 gui-release

correctly handle nested evalin ('caller', ...) calls at top scope (bug #41651) * toplev.cc (octave_call_stack::do_goto_caller_frame): Compare scope of current stack element to scope of the top of the call stack instead of checking whether the current frame is 0.
author Michael C. Grant <mcg@cvxr.com>
date Fri, 21 Feb 2014 08:05:37 -0600
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))))