summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorrekado <rekado@elephly.net>2016-07-06 16:19:17 +0200
committerrekado <rekado@elephly.net>2016-07-06 16:19:17 +0200
commitab334787c60258448780ffbeae3bc0446a191d3a (patch)
tree50f3085a62cd502b71fe9c7b6d5bac6722879c60 /lisp
parent1e132a64b7061c600bec83673600308b8bf8a009 (diff)
Remove init-package.el.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-package.el49
1 files changed, 0 insertions, 49 deletions
diff --git a/lisp/init-package.el b/lisp/init-package.el
deleted file mode 100644
index 6687e7e..0000000
--- a/lisp/init-package.el
+++ /dev/null
@@ -1,49 +0,0 @@
-(require 'package)
-
-(defvar my/packages
- '(centered-cursor-mode
- dired-details
- dired+
- erc-hl-nicks
- expand-region
- fill-column-indicator
- guide-key
- hungry-delete
- ido-vertical-mode
- info+
- page-break-lines
- paren-face
- perspective
- rich-minority
- scss-mode
- shell-switcher
- skewer-mode
- smart-mode-line
- tagedit
- znc))
-
-(add-to-list 'package-archives
- '("melpa" . "http://melpa.milkbox.net/packages/"))
-(add-to-list 'package-archives
- '("marmalade" . "http://marmalade-repo.org/packages/"))
-(package-initialize)
-
-(unless (file-exists-p "~/.emacs.d/elpa/archives/melpa")
- (package-refresh-contents))
-
-(defun packages-install (packages)
- (mapcar (lambda (package)
- (when (not (package-installed-p package))
- (package-install package)))
- packages)
- (delete-other-windows))
-
-;; Install extensions if they're missing
-(defun init--install-packages ()
- (packages-install my/packages))
-
-(condition-case nil
- (init--install-packages)
- (error
- (package-refresh-contents)
- (init--install-packages)))