summaryrefslogtreecommitdiff
path: root/doc/contributing.mdwn
diff options
context:
space:
mode:
authorGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-12 00:39:21 -0700
committerGravatar Nathan Collins <nathan.collins@gmail.com>2012-06-12 00:43:42 -0700
commit9fe433390d3860bdb740c54b015889805578c992 (patch)
treec0ae109edded83b0c3f425033032b20c65330593 /doc/contributing.mdwn
parent236ae1fbc4fa114cfcef5a7d71c40cb1c2ef9d8f (diff)
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.
Diffstat (limited to 'doc/contributing.mdwn')
-rw-r--r--doc/contributing.mdwn7
1 files changed, 7 insertions, 0 deletions
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.