Delay evaluation of gnus-add-configuration to gnus start time. It takes 25% of my Emacs start time.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 02 Jan 2021 17:38:55 +0200
changeset 1673 bd16419905c0
parent 1672 e2d0fc84c6f5
child 1674 68a521583d8e
Delay evaluation of gnus-add-configuration to gnus start time. It takes 25% of my Emacs start time. For Cygwin it is 14s => 10s.
.emacs-my
--- a/.emacs-my	Sat Jan 02 01:28:36 2021 +0200
+++ b/.emacs-my	Sat Jan 02 17:38:55 2021 +0200
@@ -2248,8 +2248,9 @@
          (organization (getenv "ORGANIZATION"))
          (signature-file "~/.signature"))))
 
-(gnus-add-configuration
- '(article (vertical 1.0 (summary .30 point) (article 1.0))))
+(my--eval-after-load gnus
+  (gnus-add-configuration
+   '(article (vertical 1.0 (summary .30 point) (article 1.0)))))
 
 (setq gnus-summary-display-arrow t)