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."
master
Ludovic Courtès 2017-11-30 11:42:30 +01:00
parent 117d8cc40e
commit e42f026eb5
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

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)