view .dir-locals.el @ 18858:a1dde4d4c45c

Return correct exist code for mex files when .mex extension given (bug #42614). * variables.cc (symbol_exist): Check for '.mex' extension on file found in path and return code 3 if found. * variables.cc (Fexist): Add %!test for new behavior.
author Rik <rik@octave.org>
date Wed, 25 Jun 2014 14:03:20 -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))))