path: root/cider-macroexpansion.el
diff options
authorVitalie Spinu <>2014-08-06 08:53:42 -0700
committerVitalie Spinu <>2014-08-07 14:12:49 -0700
commit19a5e7f14be29ebc93b0fb79bf3e1cedd32c83b9 (patch)
tree797e9ed909e7f090207c3e227ae92ca81d3c63d2 /cider-macroexpansion.el
parent77a8501f8bc9cf6855501f2ba21d28d4d6aee4c9 (diff)
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.
Diffstat (limited to 'cider-macroexpansion.el')
1 files changed, 1 insertions, 1 deletions
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)