Skip to content

Instantly share code, notes, and snippets.

@juergenhoetzel
Created August 19, 2010 12:58
Show Gist options
  • Save juergenhoetzel/537816 to your computer and use it in GitHub Desktop.
Save juergenhoetzel/537816 to your computer and use it in GitHub Desktop.
(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