diff options
| author | Thomas Schneider <qsx@qsx.re> | 2018-03-17 22:03:20 +0100 |
|---|---|---|
| committer | Thomas Schneider <qsx@qsx.re> | 2018-03-17 22:03:20 +0100 |
| commit | 5ffee94a1ff1aec8cfd9ae217352a724de537a68 (patch) | |
| tree | 9af122b2d6b32ca45a894990f7a074dc25990cd3 | |
| parent | 495a23806b5366b3e6dd5bcd15dc5d717e8cea64 (diff) | |
Emacs: Directly set 'package-archives
I didn’t think this through in e88a76
| -rw-r--r-- | dot.emacs.d/init.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el index 793e0b7..60fe501 100644 --- a/dot.emacs.d/init.el +++ b/dot.emacs.d/init.el @@ -1,10 +1,8 @@ (package-initialize) (require 'package) -(setq package-archives '()) -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/") t) -(add-to-list 'package-archives - '("gnu" . "https://elpa.gnu.org/packages/") t) +(setq package-archives + '(("melpa" . "https://melpa.org/packages/") + ("gnu" . "https://elpa.gnu.org/packages/"))) (defvar --backup-directory (concat user-emacs-directory "backups")) (if (not (file-exists-p --backup-directory)) |
