view .dir-locals.el @ 18915:3e4e2cfba186 stable

Stop mkoctfile process if any part of compilation or linking fails (bug #42704). * mkoctfile.in.cc (main): Add additional exit condition to for loops of !result where result is the exit status of the last system command.
author Rik <rik@octave.org>
date Sun, 13 Jul 2014 20:43:25 -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))))