Add my own package archive and load settings for package-x
This commit is contained in:
parent
7e7597ab99
commit
b36b9aa63d
1 changed files with 14 additions and 6 deletions
|
@ -46,15 +46,23 @@
|
||||||
(require 'package)
|
(require 'package)
|
||||||
|
|
||||||
(eval-and-compile
|
(eval-and-compile
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")))
|
;; Add MELPA because it's the biggest package repository for Emacs.
|
||||||
|
(add-to-list 'package-archives
|
||||||
(eval-and-compile
|
'("melpa" . "https://melpa.org/packages/"))
|
||||||
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/")))
|
;; Add the Org package archive to be able to install the bleeding
|
||||||
|
;; edge Org mode.
|
||||||
(eval-and-compile (package-initialize))
|
(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))
|
||||||
|
|
||||||
(add-hook 'package-menu-mode-hook 'hl-line-mode)
|
(add-hook 'package-menu-mode-hook 'hl-line-mode)
|
||||||
|
|
||||||
|
(with-eval-after-load 'package (require 'oni-package-x))
|
||||||
|
|
||||||
;;;; Dependencies
|
;;;; Dependencies
|
||||||
|
|
||||||
(require 'counsel)
|
(require 'counsel)
|
||||||
|
|
Loading…
Reference in a new issue