summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-08-02 17:39:55 +0200
committerLudovic Courtès <ludo@gnu.org>2022-08-08 11:22:32 +0200
commit90ef692e9b48732ae2e3921ff5d101e186506a85 (patch)
tree877464d69241abfe3a7c4b36a637a7224faed785 /guix/scripts
parent9b00c97de41165beefe3eff936470f8e081ca600 (diff)
read-print: 'canonicalize-comment' leaves top-level comments unchanged.
This lets users use three leading semicolons, for instance, in top-level comments. * guix/read-print.scm (canonicalize-comment): Add INDENT parameter and honor it. (pretty-print-with-comments): Change default value of #:format-comment. Call FORMAT-COMMENT with INDENT as the second argument. * tests/read-print.scm: Adjust test accordingly.
Diffstat (limited to 'guix/scripts')
0 files changed, 0 insertions, 0 deletions