We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cider-repl-set-ns
1 parent 98e0d0a commit dc5fb95Copy full SHA for dc5fb95
cider-repl.el
@@ -659,7 +659,8 @@ text property `cider-old-input'."
659
660
If invoked in a REPL buffer the command will prompt you for the name of the
661
namespace to switch to."
662
- (interactive (list (if (derived-mode-p 'cider-repl-mode)
+ (interactive (list (if (or (derived-mode-p 'cider-repl-mode)
663
+ (null (cider-ns-form)))
664
(completing-read "Switch to namespace: "
665
(cider-sync-request:ns-list))
666
(cider-current-ns))))
0 commit comments