From 4cfc906cb483626b14f96a5499788370a0af826f Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 10 Dec 2019 21:46:05 -0800 Subject: [PATCH] Expand explanation of directory-local variables --- README.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.org b/README.org index fa7a720..9929ee9 100644 --- a/README.org +++ b/README.org @@ -49,6 +49,12 @@ *** As a directory-local variable + Create a ~.dir-locals.el~ file in the directory where you want + git-auto-commit-mode to be enabled. This will also apply to any + subdirectories, so be careful. For more information see the [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html#Directory-Variables][Per-Directory + Local Variables]] section in the Emacs manual. Then put one of the following + snippets of code in there: + If you're using Emacs 24 or newer you should set an =eval= variable: #+BEGIN_EXAMPLE ((nil . ((eval git-auto-commit-mode 1))))