Fixes #44 error "subword-mode is not currently registered as a minor mode"

This commit is contained in:
syl20bnr 2014-10-27 09:29:02 -04:00
parent 0313ebc246
commit 3167fe5b63

View file

@ -1765,10 +1765,11 @@ DELETE-FUNC when calling CALLBACK.
(evil-leader/set-key "eds" 'string-edit-at-point)))
(defun spacemacs/init-subword ()
(use-package subword
:defer t
:init
(add-hook 'prog-mode-hook 'subword-mode)))
(unless (version< emacs-version "24.4")
(use-package subword
:defer t
:init
(add-hook 'prog-mode-hook 'subword-mode))))
(defun spacemacs/init-tagedit ()
(use-package tagedit