view .dir-locals.el @ 19559:18377fc879d0

Make cmd-line options for --eval, script file, '< script' mutually exclusive (bug #35318). * octave.cc (octave_process_command_line): Check for invalid pairs of mutually exclusive command line options. Re-format various comments to use up to 80 columns.
author Rik <rik@octave.org>
date Fri, 02 Jan 2015 18:05:24 -0800
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))))