view .dir-locals.el @ 14776:0eb1b1eb2c76

Detect Carbon's CGDisplayBitsPerPixel during configure. Use it if present. Provide a replacement if it is not. * m4/acinclude.m4 (OCTAVE_CARBON_CGDISPLAYBITSPERPIXEL): New macro. * configure.ac: Use it. * display.cc: Define DisplayBitsPerPixel, and use it if CGDisplayBitsPerPixel is missing.
author Ben Abbott <bpabbott@mac.com>
date Sun, 17 Jun 2012 17:20:38 -0400
parents 7600200a54c8
children 9ff04de067ce
line wrap: on
line source

((nil .
      ((c-file-style . "gnu")
       (indent-tabs-mode . nil)
       (fill-column . 72)
       (eval . (when (string-match "\\.h\\'" (buffer-file-name))
                 (unless (string-match "/gnulib/" (buffer-file-name))
                   (c++-mode)
                   (c-set-style "gnu"))))))
 (change-log-mode . ((indent-tabs-mode . t)))
 (makefile-mode . ((indent-tabs-mode . t))))