Created
August 19, 2010 12:58
-
-
Save juergenhoetzel/537816 to your computer and use it in GitHub Desktop.
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 slime-update-namespace () | |
"Find the namespace in the current buffer and set the package of | |
the REPL buffer to PACKAGE." | |
(interactive) | |
(let ((package (slime-find-buffer-package))) | |
(if package | |
(slime-repl-set-package package) | |
(call-interactively 'slime-repl-set-package)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment