view .dir-locals.el @ 19720:3db04b75c7c0

do not set text encoding for strings to utf-8 on windows (bug #44103) * octave-gui.cc (octave_start_gui): only use setCodecForCStrings when not building for windows
author Torsten <ttl@justmail.de>
date Mon, 09 Feb 2015 22:09:36 +0100
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))))