summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalie Spinu <spinuvit@gmail.com>2015-03-22 15:52:35 +0100
committerVitalie Spinu <spinuvit@gmail.com>2015-03-22 15:54:03 +0100
commit370ef2f592aa9e27cb3e83105ef8f075edfb65bd (patch)
tree87e0168498b48664da121335e0775383514c5e90
parenteadac9f21756298671aba31a40837ce8370d14af (diff)
Add edebug specification to `nrepl-dbind-response`
-rw-r--r--nrepl-client.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/nrepl-client.el b/nrepl-client.el
index 23c52b6f..4973c291 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -250,6 +250,7 @@ To be used for tooling calls (i.e. completion, eldoc, etc)")
(defmacro nrepl-dbind-response (response keys &rest body)
"Destructure an nREPL RESPONSE dict.
Bind the value of the provided KEYS and execute BODY."
+ (declare (debug (form (&rest symbolp) body)))
`(let ,(cl-loop for key in keys
collect `(,key (nrepl-dict-get ,response ,(format "%s" key))))
,@body))