diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2023-09-26 16:04:47 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2023-09-26 16:04:47 +0200 |
| commit | 20bcad514a654d4a6695e2e2d86a6a39e374798c (patch) | |
| tree | 2858d2e0e0a2d4101adb98a55f4ce514de1e7729 /dot.emacs.d/init.el | |
| parent | feb1f3df32a99a5c37a1853541734ab2a62bc263 (diff) | |
Emacs: Use MELPA stable in general, unstable only explicitly
Diffstat (limited to 'dot.emacs.d/init.el')
| -rw-r--r-- | dot.emacs.d/init.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index 45ac7a5..991b33c 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -1,13 +1,17 @@ (require 'package) (setq package-enable-at-startup nil) (setq package-archives - '(("melpa" . "https://melpa.org/packages/") - ("gnu" . "https://elpa.gnu.org/packages/"))) + '(("melpa-stable" . "https://stable.melpa.org/packages/") + ("melpa-unstable" . "https://melpa.org/packages/") + ("gnu" . "https://elpa.gnu.org/packages/")) + + package-archive-priorities '(("melpa-stable" . 1) + ("gnu" . 1))) (package-initialize) (unless (package-installed-p 'use-package) (package-refresh-contents) - (package-install 'use-package t)) + (package-install 'use-package)) (require 'use-package) (setq use-package-always-ensure t use-package-verbose t) @@ -61,6 +65,8 @@ :init (exec-path-from-shell-initialize)) (setenv "LANG" "de_DE.UTF-8")) +;; https://github.com/company-mode/company-mode/pull/1101 +(add-to-list 'package-pinned-packages '("company" . "melpa-unstable")) (use-package company :bind (:map company-mode-map ([remap completion-at-point] . #'company-complete)) |
