From 9fe433390d3860bdb740c54b015889805578c992 Mon Sep 17 00:00:00 2001 From: Nathan Collins Date: Tue, 12 Jun 2012 00:39:21 -0700 Subject: Remove .dir-locals.el and add doc/contributing.mdwn. Add link CONTRIBUTING -> doc/contributing.mdwn, so that it's easy to find (many files in doc/). Add .dir-locals.el to .gitignore, now that it's no longer versioned. The CONTRIBUTING file gives a reference to a page on the Emacs wiki that shows how to set up a .dir-locals.el that sets up tabs for indentation. I updated the wiki page to include the `(highlight-regexp "^ *")` part, which had been the hardest to discover. --- doc/contributing.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/contributing.mdwn (limited to 'doc/contributing.mdwn') diff --git a/doc/contributing.mdwn b/doc/contributing.mdwn new file mode 100644 index 000000000..11c6c1987 --- /dev/null +++ b/doc/contributing.mdwn @@ -0,0 +1,7 @@ +## Style + +This project uses tabs for indentation and the code looks fine with +any tab width. If you are using Emacs, and have it configured to use +spaces for indentation, then you can add a ./.dir-locals.el to use +tabs for files in this project. See +http://www.emacswiki.org/emacs/DirectoryVariables. -- cgit v1.2.3