view .dir-locals.el @ 18853:9a70705dc616 stable

Check for name and type keyword to return as an octave ascii data file (Bug #42586) * libinterp/corefcn/load-save.cc (get_file_format): attempt to get name and then type keyword to decide if is an Octave ascii file.
author John Donoghue <john.donoghue@ieee.org>
date Sun, 22 Jun 2014 07:22:26 -0400
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))))