Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #32 from ljosa/master

Use (cider-current-ns) instead of nrepl-buffer-ns
  • Loading branch information...
commit 79cde20f444e1ded2594e00acea99255d48ab281 2 parents 82eea06 + 5d0d327
@marick marick authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 midje-mode.el
View
4 midje-mode.el
@@ -206,7 +206,7 @@ Check that fact and also save it for use of
`midje-recheck-last-fact-checked'."
(interactive)
(midje-clear-comments)
- (setq last-checked-midje-fact-ns nrepl-buffer-ns)
+ (setq last-checked-midje-fact-ns (cider-current-ns))
(let ((string (save-excursion
(mark-defun)
(buffer-substring-no-properties (mark) (point)))))
@@ -214,7 +214,7 @@ Check that fact and also save it for use of
(midje-goto-above-fact)
(nrepl-send-string string
(nrepl-check-fact-handler (current-buffer))
- nrepl-buffer-ns)))
+ (cider-current-ns))))
(defun midje-recheck-last-fact-checked ()
"Used when `point` is on or just after a def* form.
Please sign in to comment.
Something went wrong with that request. Please try again.