view .dir-locals.el @ 18134:7af19113ec43 stable

Fix block comments for files with CRLF line endings (bug #40894) * libinterp/parse-tree/lex.ll: check for \r when checking for valid block comment
author John Donoghue <john.donoghue@ieee.org>
date Sat, 14 Dec 2013 20:08:13 -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))))