[Init] Move misplaced ‘add-hook’ call into ‘db/run-init’

This commit is contained in:
Daniel - 2017-11-11 11:53:25 +01:00
parent 46ab0be05d
commit ba8d2653f0
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 1 additions and 1 deletions

View File

@ -132,6 +132,7 @@
(add-hook 'prog-mode-hook #'electric-indent-local-mode))
(add-hook 'lisp-mode-hook #'lispy-mode)
(add-hook 'text-mode-hook #'turn-on-flyspell)
(add-hook 'text-mode-hook #'yas-minor-mode-on)
;; Hydras
@ -1332,7 +1333,6 @@ Certificates are assumed to be of the form *.crt."
(use-package yasnippet
:commands (yas-minor-mode-on yas-minor-mode)
:diminish yas-minor-mode
:init (add-hook 'text-mode-hook #'yas-minor-mode-on)
:config (progn
(add-hook 'term-mode-hook (lambda () (yas-minor-mode -1)))
(yas-reload-all)))