view .dir-locals.el @ 24189:7a2cecc1ec24

edit.m: use the bare name for header and function prototype (bug #52316) * edit.m: use the bare name in auto generated prototype. Remove trailing white space after "-*- texinfo -*-" in m files function prototype
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Tue, 31 Oct 2017 13:02:01 +0100
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))))