Set `package-install-upgrade-built-in' to nil

This commit is contained in:
Gerard Vermeulen 2024-04-29 10:17:34 +02:00
parent 75acaf92ae
commit 9dbd90f3cb
1 changed files with 1 additions and 35 deletions

View File

@ -275,7 +275,7 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
("melpa" . "https://melpa.org/packages/")
("melpa-stable" . "https://stable.melpa.org/packages/")
("nongnu" . "https://elpa.nongnu.org/nongnu/"))
package-install-upgrade-built-in t
package-install-upgrade-built-in nil
;; Pin packages to GNU ELPA or to MELPA STABLE for info and/or stability.
package-pinned-packages '((auctex . "gnu")
(citar . "melpa-stable")
@ -285,7 +285,6 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
(dash . "melpa-stable")
(debbugs . "gnu")
(denote . "gnu")
(eldoc . "nongnu")
(embark . "gnu")
(embark-consult . "gnu")
(emms . "gnu")
@ -319,39 +318,6 @@ of [[info:emacs#Saving Customizations][saving customizations (info)]].
;; (byte-recompile-directory "~/VCS/org-contrib/lisp" 0)
;; Postpone (require 'org) after shadowing Org and sh-script faces below.
;; 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".
(defvar package-pinned-packages)
(setopt package-install-upgrade-built-in t
package-pinned-packages
(cl-union '((bind-key . "nongnu")
(eglot . "nongnu")
(erc . "nongnu")
(external-completion . "nongnu")
(faceup . "nongnu")
(flymake . "nongnu")
(jsonrpc . "nongnu")
(let-alist . "nongnu")
(map . "nongnu")
(ntlm . "nongnu")
(org . "nongnu") ; Use builtin or git!
(peg . "nongnu")
(python . "nongnu")
(project . "nongnu")
(seq . "nongnu")
(soap-client . "nongnu")
(so-long . "nongnu")
(svg . "nongnu")
(track-changes . "nongnu")
(transient . "nongnu")
(use-package . "nongnu")
(use-package-ensure-system-package . "nongnu")
(verilog-mode . "nongnu")
(xref . "nongnu"))
package-pinned-packages :key #'car))
(when (eq system-type 'darwin)
(setopt ns-alternate-modifier nil
ns-command-modifier 'meta