Remove commented, unneeded code

Since `straight` takes care of all installation automatically,
I can just use `use-package` without concern.
This commit is contained in:
Howard Abrams 2021-11-02 17:07:16 -07:00
parent 513f2f06de
commit d7b3bd3ef7

View file

@ -20,22 +20,6 @@ cat > $HAMACS_DEST/init.el <<EOF
;; We'll be using straight. So, we don't want duplicated package loading:
(setq package-enable-at-startup nil)
;; Configure package.el to include MELPA.
;; (require 'package)
;; (add-to-list 'package-archives '("gnu" . "https://elpa.gnu.org/packages/") t)
;; (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; (add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/") t)
;; (package-initialize)
;; Ensure that use-package is installed.
;;
;; If use-package isn't already installed, it's extremely likely that this is a
;; fresh installation! So we'll want to update the package repository and
;; install use-package before loading the literate configuration.
;; (when (not (package-installed-p 'use-package))
;; (package-refresh-contents)
;; (package-install 'use-package))
(defvar hamacs-source-dir "$HAMACS_DIR" "Where we be.")
;; Let's rock: