view .dir-locals.el @ 22349:2aac9ec7df29

Do not call GL functions before window is open. (bug #48669) * gl-render.cc (opengl_renderer): Move call of get_maxlights() from constructor to draw_axes_children.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 04 Aug 2016 09:20:20 +0200
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))))