From 3a3a5250232f64f32700fa673939d47ed7e28247 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 12 Sep 2016 11:35:37 -0400 Subject: emacs: Stop using package.el. Guix handles this now! --- dotfiles/.emacs.d/init.el | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/dotfiles/.emacs.d/init.el b/dotfiles/.emacs.d/init.el index 39d2c40..30c284c 100644 --- a/dotfiles/.emacs.d/init.el +++ b/dotfiles/.emacs.d/init.el @@ -35,37 +35,6 @@ (when-require 'guix-init (setf guix-dot-program (concat (getenv "HOME") "/.guix-profile/bin/dot"))) -(require 'package) -(add-to-list 'package-archives - '("melpa" . "http://melpa.milkbox.net/packages/") t) -(package-initialize) - -;; Additional packages that I use. -(setf required-packages - '(better-defaults - elfeed - emms - ido-ubiquitous - js2-mode - notmuch-unread - rainbow-delimiters - smex - web-mode - projectile - markdown-mode - yaml-mode - glsl-mode)) - -(defun install-missing-packages () - "Install all required packages that haven't been installed." - (interactive) - (package-refresh-contents) - (mapc (lambda (package) - (unless (package-installed-p package) - (package-install package))) - required-packages) - (message "Installed all missing packages!")) - ;;; ;;; Look and Feel ;;; -- cgit v1.2.3