[Misc] Use ‘require’ instead of ‘use-package’ in config sections

This commit is contained in:
Daniel - 2018-09-06 20:17:40 +02:00
parent fbf6a3c55c
commit 9ebb068241
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 5 additions and 5 deletions

10
init.el
View File

@ -768,9 +768,9 @@ are assumed to be of the form *.crt."
(setq dired-enable-local-variables nil
dired-local-variables-file nil)
(use-package dired-x)
(use-package dired+)
(use-package dired-open)
(require 'dired-x)
(require 'dired+)
(require 'dired-open)
;; Gnus support in dired
(add-hook 'dired-mode-hook 'turn-on-gnus-dired-mode)
@ -800,7 +800,7 @@ are assumed to be of the form *.crt."
("\\.docx?\\'" "loffice"))))
;; disable exaggerated fontification of dired+
(use-package font-lock)
(require 'font-lock)
(add-to-list 'font-lock-maximum-decoration '(wdired-mode . 1))
(add-to-list 'font-lock-maximum-decoration '(dired-mode . 1))
@ -1109,7 +1109,7 @@ are assumed to be of the form *.crt."
(use-package eshell
:commands (eshell)
:config (use-package db-eshell))
:config (require 'db-eshell))
(use-package with-editor
:commands (with-editor-export-editor))