From 11ecce9e630fcca49751f034ab8c5153cdff8d1d Mon Sep 17 00:00:00 2001 From: David Florness Date: Tue, 16 Apr 2019 19:06:23 -0600 Subject: [PATCH] Remove package.el code --- init.el | 3 +-- lisp/setup-packages.el | 35 ----------------------------------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/init.el b/init.el index 9cd56a5..fadb3fd 100644 --- a/init.el +++ b/init.el @@ -198,8 +198,7 @@ ;; If there is more than one, they won't work right. '(flycheck-disabled-checkers (quote (emacs-lisp-checkdoc))) '(initial-buffer-choice t) - '(initial-scratch-message "") - ) + '(initial-scratch-message "")) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/lisp/setup-packages.el b/lisp/setup-packages.el index 1ab010a..4ae93c4 100644 --- a/lisp/setup-packages.el +++ b/lisp/setup-packages.el @@ -1,36 +1 @@ -(require 'package) -(require 'tls) - - -(setq tls-checktrust t) - - -(setq-default package-archives '(("gnu" . "https://elpa.gnu.org/packages/"))) - - -;;; Add org and melpa package archives -(let* ((no-ssl (and (memq system-type '(windows-nt ms-dos)) - (not (gnutls-available-p)))) - (melpa-url (concat (if no-ssl "http" "https") "://melpa.org/packages/")) - (org-url (concat (if no-ssl "http" "https") "://orgmode.org/elpa/"))) - (add-to-list 'package-archives (cons "melpa" melpa-url)) - (add-to-list 'package-archives (cons "org" org-url))) - - -;;; Load and activate lisp packages -(package-initialize) - - -;;; Fetch the list of available packages -(unless package-archive-contents - (package-refresh-contents)) - - -;;; Install use-package for easy package configuration -(unless (package-installed-p 'use-package) - (package-install 'use-package)) - - -(require 'use-package) - (add-to-list 'Info-directory-list "~/.local/share/info/") -- 2.38.4