From 96888f9f971d94392288fb94b80ed60ca0809434 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 13 Jan 2019 12:37:38 -0800 Subject: [PATCH] Clean up package configuration --- oni-package.el | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/oni-package.el b/oni-package.el index 2e24e2a..325798b 100644 --- a/oni-package.el +++ b/oni-package.el @@ -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 ;; 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))