aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-01-17 14:59:00 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-02-02 23:51:28 -0500
commitb1c25e2ce364741d1c257d3bb3ab773032807a80 (patch)
treea9aa770ac252b248e9a8237cf6c8d22756c3e467 /.dir-locals.el
parent74f15a002cf2979f3268afeed61aa1aef09ea4fa (diff)
downloadguix-b1c25e2ce364741d1c257d3bb3ab773032807a80.tar
guix-b1c25e2ce364741d1c257d3bb3ab773032807a80.tar.gz
.dir-locals.el: Add indentation rule for computed-file.
* .dir-locals.el: Configure scheme-indent-function property for computed-file, so that its first argument (the file name) is indented as a procedure argument.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.dir-locals.el b/.dir-locals.el
index 47a4ccd2bb..71702d3e6c 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -94,6 +94,7 @@
(eval . (put 'origin 'scheme-indent-function 0))
(eval . (put 'build-system 'scheme-indent-function 0))
(eval . (put 'bag 'scheme-indent-function 0))
+ (eval . (put 'computed-file 'scheme-indent-function 1))
(eval . (put 'gexp->derivation 'scheme-indent-function 1))
(eval . (put 'graft 'scheme-indent-function 0))
(eval . (put 'operating-system 'scheme-indent-function 0))