view .dir-locals.el @ 18472:83cc56cc7cb7 stable

fix restoring non-existing file from previous session (bug #41280) * file-editor.cc (request_open_file): dialog asking whether to create non-existing file has no parent for correct handling at startup
author Torsten <ttl@justmail.de>
date Sun, 16 Feb 2014 18:06:43 +0100
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))))