mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
Revert gexp->derivation and computed-file indentation rules.
This revertsb1c25e2ce3and partially reverts82daab4281, 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.
This commit is contained in:
@@ -97,8 +97,6 @@
|
|||||||
(eval . (put 'origin 'scheme-indent-function 0))
|
(eval . (put 'origin 'scheme-indent-function 0))
|
||||||
(eval . (put 'build-system 'scheme-indent-function 0))
|
(eval . (put 'build-system 'scheme-indent-function 0))
|
||||||
(eval . (put 'bag '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 'graft 'scheme-indent-function 0))
|
||||||
(eval . (put 'operating-system 'scheme-indent-function 0))
|
(eval . (put 'operating-system 'scheme-indent-function 0))
|
||||||
(eval . (put 'file-system 'scheme-indent-function 0))
|
(eval . (put 'file-system 'scheme-indent-function 0))
|
||||||
|
|||||||
Reference in New Issue
Block a user