view .dir-locals.el @ 17948:73f46593a51c

Center the Octave Community News window only when constructed (bug #40618) * main-window.cc (main_window::display_community_news): Whenever OCN is built, get desktop height and width and move OCN window to center of desktop using OCN window width() and height().
author Daniel J Sebald <daniel.sebald@ieee.org>
date Sun, 17 Nov 2013 23:30:00 -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))))