[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: ui: Use package-description-string.
From: |
guix-commits |
Subject: |
03/03: ui: Use package-description-string. |
Date: |
Mon, 15 Jun 2020 14:06:31 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit bd03e99f66be1a038e3a8aeb502f5153fd05cc67
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Mon Jun 1 04:55:16 2020 +0530
ui: Use package-description-string.
* guix/ui.scm (package->recutils): Use package-description-string instead of
package-description and P_.
---
guix/ui.scm | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/guix/ui.scm b/guix/ui.scm
index d4c912a..0d3620f 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -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)