diff options
author | Antero Mejr <antero@mailbox.org> | 2023-03-16 16:11:20 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-03-17 23:20:35 +0100 |
commit | 2135f69dc0c0e70caf3fca0688ae831ab6bcaa65 (patch) | |
tree | 82cf4a2f720a3ac2450d9712c69c22c5f01d51fc /guix/ui.scm | |
parent | d15dbdb79c617b8b710ef5a9502be0d5f640aaaf (diff) |
ui: format 'display-hint' output when no arguments are passed.
When display-hint is given format specifiers such as "~%" but no arguments,
it does not format the output, causing the specifiers to be visible in the
displayed text.
* guix/ui.scm (display-hint): Format output when no arguments are passed.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix/ui.scm')
-rw-r--r-- | guix/ui.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/ui.scm b/guix/ui.scm index b6c3bd04ba..7540e2194f 100644 --- a/guix/ui.scm +++ b/guix/ui.scm @@ -323,7 +323,7 @@ other objects that must match the 'format' escapes in MESSAGE." ;; XXX: We should arrange so that the initial indent is wider. (parameterize ((%text-width (max 15 (- (terminal-columns) 5)))) (texi->plain-text (match arguments - (() message) + (() (format #f message)) (_ (apply format #f message (map (match-lambda ((? string? str) |