[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: Revert gexp->derivation and computed-file indentation rules.
From: |
guix-commits |
Subject: |
01/02: Revert gexp->derivation and computed-file indentation rules. |
Date: |
Fri, 17 Mar 2023 12:15:16 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit d0b7858968a2c8c8cdacc3679447b250fb5b4dd9
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 17 12:05:54 2023 -0400
Revert gexp->derivation and computed-file indentation rules.
This reverts b1c25e2ce364741d1c257d3bb3ab773032807a80 and partially reverts
82daab42811a2e3c7684ebdf12af75ff0fa67b99, which means the computed-file and
gexp->derivation procedures are now indented as normal procedures.
Rationale: see the discussion at
https://lists.gnu.org/archive/html/guix-devel/2023-03/msg00008.html. In a
nutshell: the convention is to use special rules for special forms (macros),
not for procedures.
* .dir-locals.el (scheme-mode): Remove the special indentation rules for
the computed-file and gexp->derivation procedures.
---
.dir-locals.el | 2 --
1 file changed, 2 deletions(-)
diff --git a/.dir-locals.el b/.dir-locals.el
index 8635b29565..a5f627a9ba 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -97,8 +97,6 @@
(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))
(eval . (put 'file-system 'scheme-indent-function 0))