supporting email stripping for multiple authors

This commit is contained in:
Alex Shinn 2015-07-01 07:41:47 +09:00
parent 0c856a1bba
commit 841bf95509

View file

@ -90,7 +90,10 @@
((not (package? pkg))
#f)
((assoc-get (cdr pkg) 'authors)
=> (lambda (authors) (if show-email? authors (strip-email authors))))
=> (lambda (authors)
(cond (show-email? authors)
((pair? authors) (map strip-email authors))
(else (strip-email authors)))))
(else
(let ((email (package-email pkg)))
(or (cond