optimize package loading

This commit is contained in:
2022-12-18 19:32:54 +01:00
parent cbc480386c
commit 7b477d19fa
23 changed files with 3 additions and 42 deletions

View File

@@ -180,7 +180,6 @@ DISPLAY-START: `integer', e.g. 3820"
:defer t)
(use-package all-the-icons
:load-path (lambda() (concat config-dir "lisp/all-the-icons"))
:defer t
:config
(when (and (not (my-font-installed-p "all-the-icons"))
@@ -190,7 +189,6 @@ DISPLAY-START: `integer', e.g. 3820"
))
(use-package dashboard
:load-path (lambda() (concat config-dir "lisp/dashboard"))
:delight (dashboard-mode "Db") ;; "\u01F153
:config
(require 'linum) ;; TODO: (delete after dashboard fixed it) bc/ dashboard.el sets (linum-mode -1) in `dashboard-mode'