view .dir-locals.el @ 21653:09c086133228

simplify rules for building DOCSTRING files (bug #47745) * libinterp/module.mk, scripts/module.mk: Don't create separate .DOCSTRINGS file. Create DOCSTRINGS files in $(srcdir). Use move-if-change to avoid rebuilding docs in tarball distribution.
author John W. Eaton <jwe@octave.org>
date Thu, 28 Apr 2016 16:44:38 -0400
parents 9ff04de067ce
children df203b20cfc6
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))))