Add :defer t to decreate start-up time

This commit is contained in:
Riyyi
2020-07-23 00:12:42 +02:00
parent 01b7c38fed
commit 8ffbc1c1b5
+8 -2
View File
@@ -210,6 +210,7 @@ Install and configure packages.
:config (evil-collection-init))
(use-package evil-nerd-commenter
:defer t
:after evil)
#+END_SRC
@@ -285,14 +286,17 @@ Project manager.
#+BEGIN_SRC emacs-lisp
(use-package htmlize
:defer t
:custom (org-export-html-postamble nil))
;org-export-html-postamble-format @ToDo
;; Table of contents
(use-package toc-org)
(use-package toc-org
:defer t)
;; Github flavored Markdown exporter
(use-package ox-gfm)
(use-package ox-gfm
:defer t)
#+END_SRC
*** Completion
@@ -494,6 +498,7 @@ https://github.com/laishulu/hl-fill-column
#+BEGIN_SRC emacs-lisp
(use-package elfeed
:defer t
:custom
(elfeed-db-directory (concat emacs-d "/elfeed"))
(elfeed-enclosure-default-dir "~/downloads/")
@@ -507,6 +512,7 @@ https://github.com/laishulu/hl-fill-column
'(("https://www.youtube.com/feeds/videos.xml?user=linustechtips" comedy reviews youtube)
("https://www.youtube.com/feeds/videos.xml?channel_id=UC2eYFnH61tmytImy1mTYvhA" boomer linux shell youtube)
("https://phoronix.com/rss.php" linux news reviews)
("https://lukesmith.xyz/rss.xml" boomer linux shell)
))
:hook
(elfeed-search-mode . (lambda (&rest _) (display-line-numbers-mode 0)))