Make package-pinned-package' comply with list-packages'

This commit is contained in:
Gerard Vermeulen 2023-08-17 11:35:00 +02:00
parent 411d8f381a
commit 9fbc1be8d5

View File

@ -330,7 +330,8 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
#+caption: Set the third set of Emacs options: upgrade Org and transient.
#+name: lst:3rd-setopt-call
#+begin_src emacs-lisp -n :results silent
;; Enable `package-install-upgrade-build-in' to upgrade Org and transient.
;; Enable `package-install-upgrade-built-in' to upgrade Org and transient.
;; Caveat: works with `list-packages' but not with `package-upgrade-all'.
;; Disable upgrading other packages by pinning them to "nongnu".
(setopt package-install-upgrade-built-in t
package-pinned-packages
@ -339,6 +340,7 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
(erc . "nongnu")
(external-completion . "nongnu")
(faceup . "nongnu")
(flymake . "nongnu")
(jsonrpc . "nongnu")
(let-alist . "nongnu")
(map . "nongnu")
@ -350,7 +352,7 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
(soap-client . "nongnu")
(so-long . "nongnu")
(svg . "nongnu")
(transient . "gnu-devel") ; Upgrade!
(transient . "nongnu")
(use-package . "nongnu")
(use-package-ensure-system-package . "nongnu")
(verilog-mode . "nongnu")