view .dir-locals.el @ 17644:ca9a9c0740c5

Fix infinite loop when PS1 needs deleted directory (bug #32176) * cmd-edit.cc (command_editor::do_decode_prompt_string): Catch exception when current directory cannot be determined.
author Mike Miller <mtmiller@ieee.org>
date Sat, 12 Oct 2013 11:11:00 -0400
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))))