[Init] Load vlf' lazily in db/run-init'

This commit is contained in:
Daniel Borchmann 2019-11-11 18:29:17 +01:00
parent 10b41b5bfa
commit 3de4a086c1
Signed by: exot
GPG Key ID: 1C7071A75BB72D64

View File

@ -134,6 +134,9 @@
(moody-replace-mode-line-buffer-identification) (moody-replace-mode-line-buffer-identification)
(moody-replace-vc-mode)) (moody-replace-vc-mode))
(with-demoted-errors "Cannot activate `vlf': %s"
(require 'vlf-setup))
;; Global Hooks ;; Global Hooks
(add-hook 'minibuffer-setup-hook 'conditionally-enable-lispy) (add-hook 'minibuffer-setup-hook 'conditionally-enable-lispy)
@ -2744,9 +2747,9 @@ With given ARG, display files in `db/important-document-path."
undo-tree-visualizer-diff t) undo-tree-visualizer-diff t)
:diminish undo-tree-mode) :diminish undo-tree-mode)
(use-package vlf-setup (use-package vlf
:ensure vlf :ensure t
:defer t) :commands (vlf))
(use-package wgrep (use-package wgrep
:ensure t :ensure t