diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-04-10 11:14:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-04-10 12:40:59 +0200 |
commit | 402627714b8ba75be48b1c8fbd46cfd4cfe8238f (patch) | |
tree | 33d251b21f0beb451725cb34278505447839643d /doc | |
parent | cc3697d5438a861f78a1e5ed57f592ea9ee327be (diff) | |
download | guix-402627714b8ba75be48b1c8fbd46cfd4cfe8238f.tar.gz guix-402627714b8ba75be48b1c8fbd46cfd4cfe8238f.zip |
ui: Diagnostic procedures can display error location.
* guix/ui.scm (define-diagnostic): Add optional 'location' parameter.
Pass it to 'print-diagnostic-prefix'.
(print-diagnostic-prefix): Add optional 'location' parameter and honor
it.
(report-load-error): Use 'report-error' and 'warning' instead
of (format (current-error-port) …).
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions