Fix post-init of parinfer in the clojure layer

Reverted clojure/post-init-parinfer back to a state before the refactor, which
introduced spacemacs|forall-clojure-modes. That macro deals with modes, not
hooks, therefore we can't use it for add-hook.
This commit is contained in:
Martin Račák 2019-04-08 01:41:33 +02:00 committed by duianto
parent a60bc0f52e
commit f85acca55d
2 changed files with 2 additions and 2 deletions

View File

@ -1068,6 +1068,7 @@ Other:
- Call interactive `cider-test-*` functions interactively (thanks to Timo
Freiberg)
- Change run-all-tests alias to run-project-tests (thanks to Timo Freiberg)
- Fixed post-init of parinfer in the clojure layer (thanks to Martin Račák)
**** Coffeescript
- Improvements:
- Added basic autocompletion (thanks to Codruț Constantin Gușoi)

View File

@ -410,5 +410,4 @@
(kbd "h") 'sayid-traced-buf-show-help))))
(defun clojure/post-init-parinfer ()
(spacemacs|forall-clojure-modes m
(add-hook m 'parinfer-mode)))
(add-hook 'clojure-mode-hook 'parinfer-mode))