diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-08-02 17:39:55 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-08-08 11:22:32 +0200 |
commit | 90ef692e9b48732ae2e3921ff5d101e186506a85 (patch) | |
tree | 877464d69241abfe3a7c4b36a637a7224faed785 /doc | |
parent | 9b00c97de41165beefe3eff936470f8e081ca600 (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 'doc')
0 files changed, 0 insertions, 0 deletions