view .dir-locals.el @ 18118:ec9b35e60f95

style fixes in graphics.in.h and graphics.cc * graphics.in.h, graphics.cc: Pass std::string as const reference. Pass double by value, not as const or const reference. Check str.empty () instead of str == "". Minor formatting changes.
author John W. Eaton <jwe@octave.org>
date Sat, 07 Dec 2013 17:51:53 -0500
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))))