1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-09 14:40:36 +02:00

ui: Present 'use-modules' hints with a question mark.

Suggested by myglc2 <myglc2@gmail.com>.

* guix/ui.scm (report-load-error): Write "Did you forget" rather than
"Try adding."
This commit is contained in:
Ludovic Courtès
2017-11-30 11:42:30 +01:00
parent 117d8cc40e
commit e42f026eb5

View File

@@ -313,7 +313,7 @@ ARGS is the list of arguments received by the 'throw' handler."
(#f
(display-hint (G_ "Did you forget a @code{use-modules} form?")))
(module
(display-hint (format #f (G_ "Try adding @code{(use-modules ~a)}.")
(display-hint (format #f (G_ "Did you forget @code{(use-modules ~a)}?")
(module-name module))))))
(('srfi-34 obj)
(if (message-condition? obj)