diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2020-05-04 22:58:36 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2020-05-04 22:58:36 +0100 |
| commit | bab5bc38df1678d619c654e7c6d41900cbefd33d (patch) | |
| tree | d02b70441fe2a6f7220e2316639f4a0ac6771f5d /emacs | |
| parent | 52e51f4b8d18a6e66e8e6235b3151422d905883b (diff) | |
emacs: Add MELPA to package-archives first
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index 357a2f8..e66f590 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -7,6 +7,8 @@ ido-save-directory-list-file (concat cache-dir "ido.last") package-user-dir (concat data-dir "elpa"))) +(require 'package) +(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) (setq-default indent-tabs-mode nil @@ -35,7 +37,6 @@ (add-to-list 'auto-mode-alist '("/PKGBUILD\\'" . shell-script-mode)) (add-to-list 'ido-ignore-files ".DS_Store") (add-to-list 'magic-mode-alist '("#compdef .+" . sh-mode)) -(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (global-set-key (kbd "<C-tab>") 'other-window) (global-set-key (kbd "<C-M-tab>") 'other-frame) |
