aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-01-28 01:16:12 -0800
committerGravatar Tom Willemse2019-01-28 01:16:12 -0800
commitb3fc0c89e1d85b17447bcb408316253d9dce1d8a (patch)
treef821a423a3495ea87dd6c1cbb789f510fb1c0271 /emacs
parent79ff6f374930c7545b23fe00dd70fad2de179855 (diff)
downloadnew-dotfiles-b3fc0c89e1d85b17447bcb408316253d9dce1d8a.tar.gz
new-dotfiles-b3fc0c89e1d85b17447bcb408316253d9dce1d8a.zip
Remove ‘package’ configuration
This is part of the ‘oni-package’ package now.
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el22
1 files changed, 1 insertions, 21 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index c0be1b9..a56dd6e 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -41,29 +41,9 @@
(load "oni-site-autoloads" :noerror :nomessage)
-;;;; Package
-
(require 'package)
-(eval-and-compile
- ;; Add MELPA because it's the biggest package repository for Emacs.
- (add-to-list 'package-archives
- '("melpa" . "https://melpa.org/packages/"))
- ;; Add the Org package archive to be able to install the bleeding
- ;; edge Org mode.
- (add-to-list 'package-archives
- '("org" . "http://orgmode.org/elpa/"))
- ;; Add my personal package archive so I can upload custom libraries
- ;; and stuff there.
- (add-to-list 'package-archives
- '("oni" . "https://ryuslash.org/elpa/"))
- (package-initialize))
-
-;;; Highlight the line the cursor is on in the Packages menu for
-;;; better visibility.
-(add-hook 'package-menu-mode-hook 'hl-line-mode)
-
-(with-eval-after-load 'package (require 'oni-package-x))
+(eval-and-compile (package-initialize))
;;;; Dependencies