From fd81bb6a706a105f0e5dbea6f6e18b1d701d5e33 Mon Sep 17 00:00:00 2001 From: Anton Staaf Date: Fri, 11 Feb 2011 09:41:20 -0800 Subject: Add emacs coding style configuration file. Change-Id: I49818d167126659c499ec5716bdf841560487826 BUG=None TEST=None Review URL: http://codereview.chromium.org/6478003 --- .dir-locals.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..ad047f7 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,10 @@ +;;; This file is used by Emacs to configure it's code editing modes to correctly +;;; indent cbootimage style source code. + +((nil . ((indent-tabs-mode . t) + (tab-width . 4) + (fill-column . 80))) + (c-mode . ((c-tab-always-indent . nil) + (c-basic-offset . 4))) + (c++-mode . ((c-tab-always-indent . nil) + (c-basic-offset . 4)))) -- cgit v1.2.1