diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2023-04-24 10:10:00 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-04-24 10:27:13 +0200 |
commit | 7931ac810b8feaadcbbfa3a31786087da2d5ee73 (patch) | |
tree | b9a45254cf47354eb8e48a43e26ba042ff645cb3 /nix/libstore/globals.hh | |
parent | 74e96c4cb171b17949f638d8b452d047a8f2dc6f (diff) | |
download | guix-7931ac810b8feaadcbbfa3a31786087da2d5ee73.tar.gz guix-7931ac810b8feaadcbbfa3a31786087da2d5ee73.zip |
read-print: 'pretty-print-with-comments' keeps newlines on long strings.
* guix/read-print.scm (printed-string)[preserve-newlines?]: New
procedure.
Use it to preserve newlines on long strings.
* tests/read-print.scm: Add test.
Diffstat (limited to 'nix/libstore/globals.hh')
0 files changed, 0 insertions, 0 deletions