From bcc8ad8ebf5196631b82e5d8d771762f114c753d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 16 May 2024 11:01:11 -0400 Subject: [PATCH] (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) --- lisp/emacs-lisp/package.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- 2.39.5