From 1bb9da3906753dc5a5192560e07e7b809f4c81eb Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 23 Oct 2015 21:45:07 -0700 Subject: [PATCH] Remove some stuff from tracking --- dotfiles/emacs.d/auto-save-list/.saves-5311-ares~ | 4 ---- dotfiles/emacs.d/init.el~ | 2 -- dotfiles/emacs.d/package.el~ | 18 ------------------ 3 files changed, 24 deletions(-) delete mode 100644 dotfiles/emacs.d/auto-save-list/.saves-5311-ares~ delete mode 100644 dotfiles/emacs.d/init.el~ delete mode 100644 dotfiles/emacs.d/package.el~ diff --git a/dotfiles/emacs.d/auto-save-list/.saves-5311-ares~ b/dotfiles/emacs.d/auto-save-list/.saves-5311-ares~ deleted file mode 100644 index 79fb83e..0000000 --- a/dotfiles/emacs.d/auto-save-list/.saves-5311-ares~ +++ /dev/null @@ -1,4 +0,0 @@ -/home/taylor/.emacs.d/package.el -/home/taylor/.emacs.d/#package.el# -/home/taylor/.emacs.d/init.el -/home/taylor/.emacs.d/#init.el# diff --git a/dotfiles/emacs.d/init.el~ b/dotfiles/emacs.d/init.el~ deleted file mode 100644 index bd6a2bf..0000000 --- a/dotfiles/emacs.d/init.el~ +++ /dev/null @@ -1,2 +0,0 @@ -(require 'package) -(package-initialize) diff --git a/dotfiles/emacs.d/package.el~ b/dotfiles/emacs.d/package.el~ deleted file mode 100644 index 82e5edb..0000000 --- a/dotfiles/emacs.d/package.el~ +++ /dev/null @@ -1,18 +0,0 @@ -(require 'cl) - -(defvar my-packages - '(ack-and-a-half clojure-mode coffee-mode paredit) - "Packages to make sure are installed") - -(defun my-packages-installed-p () - (loop for p in my-packages - when (not (package-installed-p p)) do (return nil) - finally (return t))) - -(unless (my-packages-installed-p) - ;; check for new packages (package versions) - (package-refresh-contents) - ;; install the missing packages - (dolist (p my-packages) - (when (not (package-installed-p p)) - (package-install p))))