Skip to content

Commit

Permalink
add better support for Emacs editing of bjoern
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eklitzke committed Sep 18, 2011
1 parent b2fbee5 commit 9f30265
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -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))))
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.pyc
*~
build/
dist/
MANIFEST

0 comments on commit 9f30265

Please sign in to comment.