From 19a5e7f14be29ebc93b0fb79bf3e1cedd32c83b9 Mon Sep 17 00:00:00 2001 From: Vitalie Spinu Date: Wed, 6 Aug 2014 08:53:42 -0700 Subject: Refactor and document nrepl-client.el Refactor: - general code and documentation cleanup - use -- convention for internal function of very limited use - inline several very short internal functions - use systematic naming convention for requests. Namely nrepl-send-request and nrepl-send-sync-request for workhorse functions and `nrepl-request:XXX` and `nrepl-sync-request:OP` for requests of type "OP". - rename `nrepl-send-request-sync` into `nrepl-send-sync-request` - delete `nrepl-log-messages` command Reorganize nrepl-client.el in functional chapters: - Bencode - Client: Process Filter - Client: Initialization - Client: Response Handling - Client: Request Handling - Server - Utilities - Connection Buffer Management - Connection Browser Document the nREPL communication process. --- cider-macroexpansion.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cider-macroexpansion.el') diff --git a/cider-macroexpansion.el b/cider-macroexpansion.el index 61042f8d..2ab9d1a6 100644 --- a/cider-macroexpansion.el +++ b/cider-macroexpansion.el @@ -66,7 +66,7 @@ This variable specifies both what was expanded and the expander.") (defun cider-macroexpansion (expander expr) "Macroexpand, using EXPANDER, the given EXPR." (cider-ensure-op-supported expander) - (plist-get (nrepl-send-request-sync + (plist-get (nrepl-send-sync-request (list "op" expander "code" expr "ns" (cider-current-ns) -- cgit v1.2.3