Skip to content

Commit

Permalink
fix monroe-eval-namespace to use monroe-get-clojure-ns
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuccianti committed Sep 12, 2019
1 parent 2ac61e7 commit 0cbf763
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions monroe.el
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,7 @@ expression at the beginning of the file and evaluating it. Not something
that is 100% accurate, but Clojure practice is to keep ns forms always
at the top of the file."
(interactive)
(when (and (fboundp 'clojure-find-ns)
(funcall 'clojure-find-ns))
(when (monroe-get-clojure-ns)
(save-excursion
(goto-char (match-beginning 0))
(monroe-eval-defun))))
Expand Down

0 comments on commit 0cbf763

Please sign in to comment.