view .dir-locals.el @ 18146:f8b7e8483b88 gui-release

avoid possible num-to-str warnings from strread.m * strread.m: Use "\n" instead of 10 and " " instead of 32 in comparisions with character strings.
author John W. Eaton <jwe@octave.org>
date Tue, 17 Dec 2013 15:02:35 -0600
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))))