[clojure] Fix jumping backwards after cider-find-var

`cider-jump-to-var` was renamed to `cider-find-var` here:
ceb2d7df75 (diff-e39c33031dc8d3e78b32ebee83293cd6L809-R846)

In https://github.com/syl20bnr/spacemacs/pull/9792/ `spacemacs/clj-find-var`
was added to be used as the jump handler for clojure modes. It uses
`cider-find-var` which doesn't push jump positions onto the evil jump stack so
the no longer current defadvice was more apparent.
This commit is contained in:
Dieter Komendera 2019-08-25 17:27:55 +02:00 committed by smile13241324
parent 3ee5aedbbf
commit 578689c497
2 changed files with 2 additions and 1 deletions

View File

@ -1277,6 +1277,7 @@ Other:
(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)
- Fixed jumping backwards after =cider-find-var= (thanks to Dieter Komendera)
**** Coffeescript
- Improvements:
- Added basic autocompletion (thanks to Codruț Constantin Gușoi)

View File

@ -235,7 +235,7 @@
(clojure/fancify-symbols 'cider-repl-mode)
(clojure/fancify-symbols 'cider-clojure-interaction-mode)))
(defadvice cider-jump-to-var (before add-evil-jump activate)
(defadvice cider-find-var (before add-evil-jump activate)
(evil-set-jump))))
(defun clojure/init-cider-eval-sexp-fu ()