From 9f30265b6bcdfc82ffda88e12746f3c9a0732681 Mon Sep 17 00:00:00 2001 From: Evan Klitzke Date: Sat, 17 Sep 2011 21:35:40 -0700 Subject: [PATCH] add better support for Emacs editing of bjoern This change adds a .dir-locals.el file to make Emacs correctly indent bjoern source code, and ignores Emacs temporary files in the .gitignore file. These changes should be transparent to non-Emacs users. --- .dir-locals.el | 5 +++++ .gitignore | 1 + 2 files changed, 6 insertions(+) create mode 100644 .dir-locals.el diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..8a3d05dc --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,5 @@ +;; For Emacs users, this will ensure that Emacs uses two-space indents for all +;; of the files in the bjoern project. +((nil . ((indent-tabs-mode . nil) + (tab-width . 2) + (c-basic-offset . 2)))) diff --git a/.gitignore b/.gitignore index ff75f768..49993708 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.pyc +*~ build/ dist/ MANIFEST