view .dir-locals.el @ 21272:987c1a79d33f

new set_internal_variable variant * variables.h, variables.cc (set_internal_variable): Set a string variable limited to a list of choices.
author John W. Eaton <jwe@octave.org>
date Tue, 16 Feb 2016 14:39:52 -0500
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))))