From: Stefan Monnier Date: Thu, 16 May 2024 15:01:11 +0000 (-0400) Subject: (describe-package-1): Handle (nil . "string") in `:maintainer` X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bcc8ad8ebf5196631b82e5d8d771762f114c753d;p=emacs.git (describe-package-1): Handle (nil . "string") in `:maintainer` * lisp/emacs-lisp/package.el (describe-package-1): Refine the check to distinguish the old single-maintainer format from the new multi-maintainer format. (bug#69712) (cherry picked from commit acfb2c6163b60507801fb8666129925e793394c9) --- diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 8c915766e1c..fda855d2143 100644 --- a/lisp/emacs-lisp/package.el +++ b/lisp/emacs-lisp/package.el @@ -2947,7 +2947,7 @@ Helper function for `describe-package'." (insert " ")) (insert "\n")) (when maintainers - (when (stringp (car maintainers)) + (unless (and (listp (car maintainers)) (listp (cdr maintainers))) (setq maintainers (list maintainers))) (package--print-help-section (if (cdr maintainers) "Maintainers" "Maintainer"))