summary refs log tree commit diff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-17 12:05:54 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-03-17 12:11:29 -0400
commitd0b7858968a2c8c8cdacc3679447b250fb5b4dd9 (patch)
treed804fd199315131bcf4c03862fcfe5fcde3703cd /.dir-locals.el
parentfd4f91dea6d82219c196549d29feb0090fd32a36 (diff)
downloadguix-d0b7858968a2c8c8cdacc3679447b250fb5b4dd9.tar.gz
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.
Diffstat (limited to '.dir-locals.el')
-rw-r--r--.dir-locals.el2
1 files changed, 0 insertions, 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))