diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2014-09-14 23:42:41 -0700 |
---|---|---|
committer | Vitalie Spinu <spinuvit@gmail.com> | 2014-09-15 20:14:27 -0700 |
commit | d201a438218b154edd7630abb4bedc715caa7849 (patch) | |
tree | f77d4951acd5afc402056f9095d7e2252b2e51ea /cider-repl.el | |
parent | 0278169d03a59cd8b59521a3552bb3b111968101 (diff) |
Rewrite `sync-request` subsystem
Changes to `nrepl-send-sync-request`:
- returned response is now a standard nREPL dict
- returned response is a merged dict of all the responses received so far
Other changes:
- remove macroexpand-1 macroexpand-all from cider-required-nrepl-ops
- Reduce redundancy in eval APIs by removing several eval functions on CIDER
side. They were either not used or could be replaced with direct calls to
nrepl API.
- Enforce `cider-sync-request:OP` convention and move all requests into
`cider-client.el`.
Diffstat (limited to 'cider-repl.el')
-rw-r--r-- | cider-repl.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-repl.el b/cider-repl.el index 1cd9ebb9..0d72b8fe 100644 --- a/cider-repl.el +++ b/cider-repl.el @@ -661,7 +661,7 @@ If invoked in a REPL buffer the command will prompt you for the name of the namespace to switch to." (interactive (list (if (derived-mode-p 'cider-repl-mode) (completing-read "Switch to namespace: " - (cider--all-ns)) + (cider-sync-request:ns-list)) (cider-current-ns)))) (if ns (with-current-buffer (cider-current-repl-buffer) |