Skip to content

Commit

Permalink
[Fix #386] Clean-ns stopped working after upgrading CIDER
Browse files Browse the repository at this point in the history
  • Loading branch information
expez committed Jul 20, 2017
1 parent 5537ce0 commit f5295df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clj-refactor.el
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
;; Benedek Fazekas <[email protected]>
;; Version: 2.4.0-SNAPSHOT
;; Keywords: convenience, clojure, cider
;; Package-Requires: ((emacs "24.4") (s "1.8.0") (seq "2.19") (yasnippet "0.6.1") (paredit "24") (multiple-cursors "1.2.2") (clojure-mode "5.6.1") (cider "0.11.0") (edn "1.1.2") (inflections "2.3") (hydra "0.13.2"))
;; Package-Requires: ((emacs "24.4") (s "1.8.0") (seq "2.19") (yasnippet "0.6.1") (paredit "24") (multiple-cursors "1.2.2") (clojure-mode "5.6.1") (cider "0.15.0") (edn "1.1.2") (inflections "2.3") (hydra "0.13.2"))

This comment has been minimized.

Copy link
@expez

expez Jul 20, 2017

Author Member

@benedekfazekas you see any issues with upgrading to require the latest CIDER?

This comment has been minimized.

Copy link
@benedekfazekas

benedekfazekas Jul 20, 2017

Member

nope. so an ever so small change in cider I assume?

thanks for fixing!!


;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -2646,7 +2646,7 @@ removed."
See: https://github.com/clojure-emacs/clj-refactor.el/wiki/cljr-clean-ns"
(interactive)
(cljr--ensure-op-supported "clean-ns")
(cider-eval-ns-form :sync)
(cider-eval-ns-form)
(cljr--clean-ns))

(defun cljr--narrow-candidates (candidates symbol)
Expand Down Expand Up @@ -2801,7 +2801,7 @@ itself might be `nil'."

(defun cljr--maybe-eval-ns-form ()
(when (and cljr-auto-eval-ns-form (cider-connected-p))
(cider-eval-ns-form :synchronously)))
(cider-eval-ns-form)))

;;;###autoload
(defun cljr-add-missing-libspec ()
Expand Down

0 comments on commit f5295df

Please sign in to comment.