guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: .dir-locals.el: Add indentation rule for computed-file.


From: guix-commits
Subject: 01/02: .dir-locals.el: Add indentation rule for computed-file.
Date: Thu, 2 Feb 2023 23:52:06 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit b1c25e2ce364741d1c257d3bb3ab773032807a80
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Jan 17 14:59:00 2023 -0500

    .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.
---
 .dir-locals.el | 1 +
 1 file changed, 1 insertion(+)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]