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))))