~edwargix/emacs.d

11ecce9e630fcca49751f034ab8c5153cdff8d1d — David Florness 6 years ago 376e361
Remove package.el code
2 files changed, 1 insertions(+), 37 deletions(-)

M init.el
M lisp/setup-packages.el
M init.el => init.el +1 -2
@@ 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.

M lisp/setup-packages.el => lisp/setup-packages.el +0 -35
@@ 1,36 1,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/")