view .dir-locals.el @ 18789:fc43c8017e9b

Fix infinite loop when using builtin ("keyboard") (bug #33296). * toplev.cc (octave_call_stack::do_goto_frame_relative): If call stack increment is 0 (not dbup, nor dbdown, but keyboard function), choose an increment of -1 to eventially break out of while (1) loop.
author Rik <rik@octave.org>
date Thu, 15 May 2014 08:16:53 -0700
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))))