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:
parent
a60bc0f52e
commit
f85acca55d
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue