view .dir-locals.el @ 18442:5c0b8f2da650 stable

Allow save() to write to the terminal with the filename '-' (bug #41505) * load-save.cc (parse_save_options): Treat an argument of '-' as a filename argument instead of an invalid option, restoring the ability to write to the terminal with save().
author Mike Miller <mtmiller@ieee.org>
date Sun, 09 Feb 2014 18:21:14 -0500
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))))