1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

ui: Use package-description-string.

* guix/ui.scm (package->recutils): Use package-description-string instead of
package-description and P_.
This commit is contained in:
Arun Isaac
2020-06-01 04:55:16 +05:30
parent a1da0904a6
commit bd03e99f66

View File

@@ -1470,10 +1470,8 @@ HYPERLINKS? is true, emit hyperlink escape sequences when appropriate."
(string->recutils
(string-trim-right
(parameterize ((%text-width width*))
(texi->plain-text
(string-append "description: "
(or (and=> (package-description p) P_)
""))))
(string-append "description: "
(or (package-description-string p) "")))
#\newline)))
(for-each (match-lambda
((field . value)