Skip to content

Commit

Permalink
Fixes #44 error "subword-mode is not currently registered as a minor …
Browse files Browse the repository at this point in the history
…mode"
  • Loading branch information
syl20bnr committed Oct 27, 2014
1 parent 0313ebc commit 3167fe5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spacemacs/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3167fe5

Please sign in to comment.