diff options
author | Gene Pasquet <dev@etenil.net> | 2025-02-12 11:57:28 +0000 |
---|---|---|
committer | Gene Pasquet <dev@etenil.net> | 2025-02-12 11:57:28 +0000 |
commit | e496159c54d3c8e8c2d9376f2a1232fee860e146 (patch) | |
tree | 4d919c684e1f66562a0a94c8e43cfe91683b1597 | |
parent | 8acd3bd7a3ab41311febcc32244caa797d0f19ca (diff) |
Fix installing theme
-rw-r--r-- | substrate.el | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/substrate.el b/substrate.el index 6dc93a5..d257dfb 100644 --- a/substrate.el +++ b/substrate.el @@ -48,6 +48,12 @@ ;; Package initialization ;; (when substrate-initialise-packages + ;; Set up package and enable melpa + (require 'package) + (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) + (package-initialise) + + ;; Boostrap straight.el (defvar bootstrap-version) (let ((bootstrap-file (expand-file-name @@ -62,8 +68,8 @@ 'silent 'inhibit-cookies) (goto-char (point-max)) (eval-print-last-sexp))) - (load bootstrap-file nil 'nomessage) - (setq straight-use-package-by-default t))) + (load bootstrap-file nil 'nomessage)) + (setq straight-use-package-by-default t)) (setopt initial-major-mode 'fundamental-mode) ; default mode for the *scratch* buffer (setopt display-time-default-load-average nil) ; this information is useless for most @@ -217,6 +223,7 @@ If the new path's directories does not exist, create them." (use-package evangelion-theme :if substrate-configure-theme + :ensure t :config (load-theme 'evangelion t)) ;;; Relegate automatic custom variables to their own file. |