[PATCH] .dir-locals.el: Customize indentation for computed-file.

  • Done
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 17 Jan 2023 21:06
(address . guix-patches@gnu.org)(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
20230117200614.25142-1-maxim.cournoyer@gmail.com
* .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(+)

Toggle diff (16 lines)
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))

base-commit: ecda67a577570f412b103e5dd8ed1a44193a9c11
--
2.38.1
M
M
Maxim Cournoyer wrote on 9 Feb 2023 05:07
control message for bug #60891
(address . control@debbugs.gnu.org)
87edqziis5.fsf@gmail.com
close 60891
quit
?