summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorArun Isaac2023-01-26 21:32:50 +0000
committerArun Isaac2023-01-26 21:50:22 +0000
commit22d71881e5fae4a530249fb4f0d63203b3f3a462 (patch)
tree3b412100ca6a6f5ef2ac44b521dc913f4cd192f7 /.dir-locals.el
parent2fc4700fbfd659197773a7e6d971563eb6ccfc3a (diff)
downloadtissue-22d71881e5fae4a530249fb4f0d63203b3f3a462.tar.gz
tissue-22d71881e5fae4a530249fb4f0d63203b3f3a462.tar.lz
tissue-22d71881e5fae4a530249fb4f0d63203b3f3a462.zip
git: Infer changes by root commit correctly.
* tissue/git.scm (commit-deltas): Rename to ... (commit-file-changes): ... this. Return list of pairs mapping old files to new files. (file-modification-table): Use commit-file-changes instead of commit-deltas. Adapt to new return value. * tests/git.scm: New file. * .dir-locals.el (scheme-mode): Set scheme-indent-function for with-variable and with-variables.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index d129e76..f6bf9b6 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -11,6 +11,8 @@
(eval . (put 'function-documentation 'scheme-indent-function 2))
(eval . (put 'docstring-function-documentation 'scheme-indent-function 2))
(eval . (put 'with-ellipsis 'scheme-indent-function 1))
+ (eval . (put 'with-variable 'scheme-indent-function 2))
+ (eval . (put 'with-variables 'scheme-indent-function 1))
(eval . (font-lock-add-keywords 'scheme-mode
(list (cons (rx "(" (group "define-lazy"))
(list 1 'font-lock-keyword-face))