diff options
author | Alan Pearce | 2014-04-18 21:38:28 +0100 |
---|---|---|
committer | Alan Pearce | 2014-04-18 21:38:28 +0100 |
commit | 13785c1eb7c0b85f171e6eb89b6b7bb4f47c6ade (patch) | |
tree | e6c281c068d266afde702139c7397728ceb4515d /tag-emacs | |
parent | 0bfd80ce7ad7fffeca7c0c6fbde6cd66f6fd6539 (diff) | |
download | dotfiles-13785c1eb7c0b85f171e6eb89b6b7bb4f47c6ade.tar.lz dotfiles-13785c1eb7c0b85f171e6eb89b6b7bb4f47c6ade.tar.zst dotfiles-13785c1eb7c0b85f171e6eb89b6b7bb4f47c6ade.zip |
Emacs: Remove non-cask package initialisation
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 25 |
1 files changed, 3 insertions, 22 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index b138291..5bf49ff 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -58,28 +58,9 @@ Values: `desktop', `server', `laptop'") ;;;; Package Management (add-to-list 'load-path (expand-file-name "elisp/" user-emacs-directory)) -(let ((cask-dir (expand-file-name "~/.cask"))) - (if (file-exists-p cask-dir) - (progn - (add-to-list 'load-path cask-dir) - (require 'cask) - (cask-initialize)) - (eval-and-compile - (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") - ("marmalade" . "http://marmalade-repo.org/packages/") - ("melpa" . "http://melpa.milkbox.net/packages/") - ("org" . "http://orgmode.org/elpa/"))) - (package-initialize)) - - (when (not package-archive-contents) - (package-refresh-contents)) - - (mapc (lambda (package-name) - (unless (package-installed-p package-name) - (package-install package-name))) - '(bind-key - diminish - use-package)))) +(add-to-list 'load-path (expand-file-name "~/.cask")) +(require 'cask) +(cask-initialize) (require 'use-package) (use-package pallet) |