Created
March 31, 2010 16:44
-
-
Save RickMoynihan/350555 to your computer and use it in GitHub Desktop.
This file contains 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 slime-reset-clojure-namespace () | |
"Reloads the current Clojure namespace by first removing it and | |
then re-evaluating the slime buffer. Use this to remove old | |
symbol definitions and reset the namespace to contain only what | |
is defined in your current Emacs buffer." | |
(interactive) | |
(slime-interactive-eval (concat "(remove-ns '" (slime-current-package) ")")) | |
(slime-eval-buffer)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment