From ae9cc5a3404fb8e286374a0c7851ee899b1c1873 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Wed, 1 Apr 2026 16:57:19 +1100 Subject: fix .dir-local.el formatting --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'README.md') 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. -- cgit v1.2.3