Last active
October 14, 2017 18:15
-
-
Save gonewest818/c4188bc7fe91c7c8af504cecb313c416 to your computer and use it in GitHub Desktop.
cider-load-buffer-and-set-ns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun cider-load-buffer-and-set-ns (&optional buffer) | |
"Load buffer's file and set ns in nREPL" | |
(interactive) | |
(let ((buf (current-buffer)) | |
(ns (cider-current-ns))) | |
(cider-load-buffer buf) | |
(cider-repl-set-ns ns))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment