me
/
guix
Archived
1
0
Fork 0

Revert "ui: Use package-description-string."

This reverts commit bd03e99f66.

Reported by Ekaitz Zarraga <ekaitz@elenq.tech> at
<https://lists.gnu.org/archive/html/guix-devel/2020-06/msg00338.html>.

That commit broke would prevent "description: " from being taken into
account by the 'texi->plain-text' paragraph filling code.
Ludovic Courtès 2020-07-02 11:07:08 +02:00
parent 415beccb1d
commit 31522dfa19
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 2 deletions

View File

@ -1471,8 +1471,12 @@ HYPERLINKS? is true, emit hyperlink escape sequences when appropriate."
(string->recutils
(string-trim-right
(parameterize ((%text-width width*))
;; Call 'texi->plain-text' on the concatenated string to account
;; for the width of "description:" in paragraph filling.
(texi->plain-text
(string-append "description: "
(or (package-description-string p) "")))
(or (and=> (package-description p) P_)
""))))
#\newline)))
(for-each (match-lambda
((field . value)