Always defer package loading (We will add demand as needed)

This commit is contained in:
Mateus Rodrigues
2023-02-28 16:00:22 +00:00
parent 3719d0cc7f
commit da46826753
2 changed files with 9 additions and 3 deletions

View File

@@ -5,9 +5,13 @@
;; Always use slant for italic, not underline
'(italic ((t (:slant italic))))
;; Save point
(save-place-mode 1)
;;;; Load my packages
;; Default theme
(use-package zenburn-theme
:demand t
:config
(load-theme 'zenburn t))
@@ -36,6 +40,7 @@
;; then use doom-modeline
(use-package all-the-icons)
(use-package doom-modeline
:straight t
:config
(progn
(setq doom-modeline-buffer-encoding nil)
@@ -47,6 +52,7 @@
(after-init . doom-modeline-mode))
(use-package dashboard
:demand t
:config
(dashboard-setup-startup-hook))
@@ -62,9 +68,7 @@
(setq pdf-view-midnight-colors '("#DCDCCC" . "#3F3F3F"))))
(use-package saveplace-pdf-view
:straight t
:config
(save-place-mode 1))
:straight t)
;; Mail reader
(use-package mu4e

View File

@@ -20,6 +20,8 @@
(require 'use-package))
;(setq straight-use-package-by-default t)
(setq use-package-always-defer t)
;; Minimal package.el use so we can explore melpa packages
(require 'package)
(add-to-list 'package-archives