Don't load packages when there is no need to do it

This commit is contained in:
Daniel Borchmann 2019-12-20 17:54:29 +01:00
parent 9c5f6d062f
commit f2da14592a
Signed by: exot
GPG Key ID: 1C7071A75BB72D64

View File

@ -408,9 +408,7 @@
(put 'downcase-region 'disabled nil) (put 'downcase-region 'disabled nil)
(put 'narrow-to-region 'disabled nil) (put 'narrow-to-region 'disabled nil)
(use-package calendar (setq calendar-date-style 'iso
:init
(setq calendar-date-style 'iso
calendar-bahai-all-holidays-flag nil calendar-bahai-all-holidays-flag nil
calendar-chinese-all-holidays-flag nil calendar-chinese-all-holidays-flag nil
calendar-christian-all-holidays-flag t calendar-christian-all-holidays-flag t
@ -439,13 +437,12 @@
(holiday-fixed 7 28 "Start WWI 1914") (holiday-fixed 7 28 "Start WWI 1914")
(holiday-fixed 11 11 "End WWI 1918")) (holiday-fixed 11 11 "End WWI 1918"))
diary-show-holidays-flag t diary-show-holidays-flag t
calendar-view-holidays-initially-flag nil)) calendar-view-holidays-initially-flag nil)
(setq-default font-lock-maximum-decoration '((t . t))) (setq-default font-lock-maximum-decoration '((t . t)))
(setq-default savehist-file (expand-file-name "savehist" emacs-d)) (setq-default savehist-file (expand-file-name "savehist" emacs-d))
(use-package tramp (setq tramp-save-ad-hoc-proxies t)
:init (setq tramp-save-ad-hoc-proxies t))
(use-package re-builder (use-package re-builder
:commands (re-builder) :commands (re-builder)