From: José Fonseca Date: Tue, 25 Oct 2011 22:16:35 +0000 (+0100) Subject: Replace .emacs-dirvars with .dir-locals.el X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=fc9615a16835808708c8d99127d0a77ef18dc0de;p=apitrace Replace .emacs-dirvars with .dir-locals.el Just basic whitespace formatting settings for all file types for now. (And let the emacs pros do the rest later) --- diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..5066446 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,4 @@ +((nil . ((indent-tabs-mode . nil) + (tab-width . 8) + (c-basic-offset . 4))) +) diff --git a/.emacs-dirvars b/.emacs-dirvars deleted file mode 100644 index 3cc9467..0000000 --- a/.emacs-dirvars +++ /dev/null @@ -1,14 +0,0 @@ -;; -*- emacs-lisp -*- -;; -;; This file is processed by the dirvars emacs package. Each variable -;; setting below is performed when this dirvars file is loaded. -;; -indent-tabs-mode: nil -tab-width: 8 -c-basic-offset: 4 -evaluate: (c-set-offset 'innamespace '0) -kde-emacs-after-parent-string: "" -evaluate: (c-set-offset 'inline-open '0) -kdab-qt-version: 4 -kdab-jump-project-name: kde -magic-parens-mode: nil