summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@szymonszukalski.com>2026-04-01 16:57:19 +1100
committerSzymon Szukalski <szymon@szymonszukalski.com>2026-04-01 16:57:19 +1100
commitae9cc5a3404fb8e286374a0c7851ee899b1c1873 (patch)
treef029e041335e0468fb6800776c95081a544325a8
parent85af41da1b74db47a74bcdfbcad4a4154f3af3b3 (diff)
fix .dir-local.el formatting
-rw-r--r--README.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/README.md b/README.md
index 149ebe2..e2579ec 100644
--- a/README.md
+++ b/README.md
@@ -119,14 +119,16 @@ When enabled for the notes tree, saving a file in `~/org/` makes Emacs try to co
Place this file at the root of the notes repository:
```emacs-lisp
-((nil . ((eval . (progn
- (setq-local gac-automatically-add-new-files-p t
- gac-automatically-push-p t
- gac-debounce-interval 60
- gac-default-message
- (lambda (_filename)
- (format-time-string "Auto-commit: %Y-%m-%d %H:%M:%S")))
- (git-auto-commit-mode 1))))))
+((nil .
+ ((eval .
+ (progn
+ (setq-local gac-automatically-add-new-files-p t
+ gac-automatically-push-p t
+ gac-debounce-interval 60
+ gac-default-message
+ (lambda (_filename)
+ (format-time-string "Auto-commit: %Y-%m-%d %H:%M:%S")))
+ (git-auto-commit-mode 1))))))
```
That applies to buffers visiting files under `~/org/` and its subdirectories. The repository-local settings control whether new files are added, whether pushes occur, how long commits are debounced, and what commit message is used, while the Emacs config supplies the package itself and picks the correct shell command separator for the active shell.