From d201a438218b154edd7630abb4bedc715caa7849 Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Sun, 14 Sep 2014 23:42:41 -0700 Subject: 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`. --- cider-repl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cider-repl.el') 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) -- cgit v1.2.3