diff options
Diffstat (limited to '.emacs.d')
| -rw-r--r-- | .emacs.d/early-init.el | 16 | ||||
| -rw-r--r-- | .emacs.d/init.org | 13 |
2 files changed, 20 insertions, 9 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 5c71a0e..2f62e61 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -50,11 +50,15 @@ ;; Package initialization. (require 'package) -(setq package-archives '()) -(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) -(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) -(add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t) -(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) - +(setq package-archives + '(("gnu" . "https://elpa.gnu.org/packages/") + ("MELPA Stable" . "https://stable.melpa.org/packages/") + ("MELPA" . "https://melpa.org/packages/") + ("org" . "https://orgmode.org/elpa/")) + package-archive-priorities + '(("MELPA Stable" . 15) + ("org" . 10) + ("gnu" . 5) + ("MELPA" . 0))) ;;; early-init.el ends here diff --git a/.emacs.d/init.org b/.emacs.d/init.org index bdecab1..84d7a91 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -199,9 +199,16 @@ These are the two main weird things you will see from an otherwise pretty standa (when (version= "26.2" emacs-version) (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")) - (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) - (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t) - (add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/") t) + (setq package-archives + '(("gnu" . "https://elpa.gnu.org/packages/") + ("MELPA Stable" . "https://stable.melpa.org/packages/") + ("MELPA" . "https://melpa.org/packages/") + ("org" . "https://orgmode.org/elpa/")) + package-archive-priorities + '(("MELPA Stable" . 15) + ("org" . 10) + ("gnu" . 5) + ("MELPA" . 0))) (package-initialize)) #+END_SRC |
