all repos — archive/dotfiles @ 9c688f368aa5bcb92e1532c6e96b50a8adac7a55

Superseded by nixfiles

Emacs: Install use-package from melpa-stable
Alan Pearce alan.pearce@spotcap.com
Thu, 14 Jan 2016 17:13:46 +0100
commit

9c688f368aa5bcb92e1532c6e96b50a8adac7a55

parent

41615696cbfaf17c21ff16d86b6ff534a1baea37

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -41,7 +41,10 @@ (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/")                              ("marmalade" . "http://marmalade-repo.org/packages/")
                              ("melpa-stable" . "http://stable.melpa.org/packages/")
                              ("melpa" . "http://melpa.org/packages/"))
-          package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa"))
+          package-user-dir (concat "~/.emacs.d/packages/" emacs-version "/elpa")
+          package-pinned-packages '(("use-package" . melpa-stable)
+                                    ("diminish" . melpa-stable)
+                                    ("bind-key" . melpa-stable)))
     (package-initialize)
     (unless (package-installed-p 'use-package)
       (package-refresh-contents)