Support :maintainers in plural in <foo>-pkg.el
For some reason, MELPA emits the keyword :maintainers, despite it being unsupported and thus leads to the "Maintainer" field being empty in all released Emacs versions. That said, it seems like a good idea to support the plural form, to be consistent with :authors. * lisp/emacs-lisp/package.el (describe-package-1): Support :maintainers in plural, in addition to :maintainer, to be consistent with :authors.
This commit is contained in:
parent
062c6ab3dd
commit
ce43d6732b
1 changed files with 2 additions and 1 deletions
|
@ -2824,7 +2824,8 @@ Helper function for `describe-package'."
|
|||
(status (if desc (package-desc-status desc) "orphan"))
|
||||
(incompatible-reason (package--incompatible-p desc))
|
||||
(signed (if desc (package-desc-signed desc)))
|
||||
(maintainers (cdr (assoc :maintainer extras)))
|
||||
(maintainers (or (cdr (assoc :maintainer extras))
|
||||
(cdr (assoc :maintainers extras))))
|
||||
(authors (cdr (assoc :authors extras)))
|
||||
(news (and-let* (pkg-dir
|
||||
((not built-in))
|
||||
|
|
Loading…
Add table
Reference in a new issue