summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorArun Isaac2023-01-28 23:44:40 +0000
committerArun Isaac2023-01-28 23:46:33 +0000
commit788d02865aa0a0e776ed65defbbd584a236dfdfb (patch)
tree7329cd03b1e1e885245aba5fcaadbb54e128fd65 /.dir-locals.el
parent27713acc8b03bcbf87c60e563db37b2841a36ab3 (diff)
downloadtissue-788d02865aa0a0e776ed65defbbd584a236dfdfb.tar.gz
tissue-788d02865aa0a0e776ed65defbbd584a236dfdfb.tar.lz
tissue-788d02865aa0a0e776ed65defbbd584a236dfdfb.zip
git: Abstract temporary checkout.
* tissue/git.scm (call-with-temporary-checkout, call-with-temporary-checkouts): New public functions. * .dir-locals.el (scheme-mode): Set scheme-indent-function of call-with-temporary-checkout and call-with-temporary-checkouts to 1.
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 f6bf9b6..8c01904 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -8,6 +8,8 @@
(scheme-mode
(eval . (put 'call-with-current-directory 'scheme-indent-function 1))
(eval . (put 'call-with-file-in-git 'scheme-indent-function 2))
+ (eval . (put 'call-with-temporary-checkout 'scheme-indent-function 1))
+ (eval . (put 'call-with-temporary-checkouts 'scheme-indent-function 1))
(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))