1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-10 23:31:19 -07:00

(package--builtin-alist): Don't use defconst since we later change it

* lisp/emacs-lisp/package.el (package--builtin-alist): Use `defvar`.
This commit is contained in:
Stefan Monnier 2026-05-03 13:32:51 -04:00
parent a1739bc75e
commit e682959b6b

View file

@ -468,7 +468,7 @@ BI-DESC should be a `package--bi-desc' object."
:summary (package--bi-desc-summary bi-desc)
:dir 'builtin))
(defconst package--builtin-alist nil)
(defvar package--builtin-alist nil)
(defun package--builtin-alist ()
"Return a alist of built-in packages in the form of `package-alist'.
The alist doesn't include the pseudo-package for Emacs."