Clean up package configuration
This commit is contained in:
parent
1d64aaa762
commit
96888f9f97
1 changed files with 12 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
|||
;;; oni-package.el --- Package manager configuration -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2017 Tom Willemse
|
||||
;; Copyright (C) 2019 Tom Willemse
|
||||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20171207004637
|
||||
;; Version: 20190113123701
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -21,7 +21,8 @@
|
|||
|
||||
;;; Commentary:
|
||||
|
||||
;; Configuration file for ELPA. This configuration adds the following archives:
|
||||
;; Configuration file for ELPA. This configuration adds the following
|
||||
;; archives:
|
||||
|
||||
;; - melpa: For all the latest packages.
|
||||
;; - org: For the latest version of org-mode.
|
||||
|
@ -30,9 +31,6 @@
|
|||
;; This configuration also sets up the proper variables for uploading
|
||||
;; packages to my personal repository.
|
||||
|
||||
;; Lastly it also functions as a bootstrap package to setup
|
||||
;; installation for all the other packages.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(eval-when-compile
|
||||
|
@ -40,15 +38,19 @@
|
|||
(require 'package-x))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/"))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
|
||||
(add-to-list 'package-archives
|
||||
'("org" . "http://orgmode.org/elpa/"))
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'package-archives `("oni" . "https://ryuslash.org/elpa/"))
|
||||
(add-to-list 'package-archives
|
||||
`("oni" . "https://ryuslash.org/elpa/"))
|
||||
|
||||
(setq package-archive-upload-base "/ssh:slash@ryuslash.org:usr/share/emacs/elpa/")
|
||||
(setq package-archive-upload-base
|
||||
"/ssh:slash@ryuslash.org:usr/share/emacs/elpa/")
|
||||
|
||||
;;;###autoload (with-eval-after-load 'package (require 'oni-package))
|
||||
;;;###autoload (with-eval-after-load 'package-x (require 'oni-package))
|
||||
|
|
Loading…
Reference in a new issue