diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2016-03-24 21:30:34 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2016-03-24 21:30:34 +0200 |
commit | e97036bc283950ecc1323fd02f82684cd0537155 (patch) | |
tree | f19103dfdec039eb54c516aaba4064307f94315a /nrepl-client.el | |
parent | 3f345bfd8efdf6b180b22e6626c7a19cda01a7f9 (diff) |
Adjust a docstring
Diffstat (limited to 'nrepl-client.el')
-rw-r--r-- | nrepl-client.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/nrepl-client.el b/nrepl-client.el index ef6a9db2..1952bb3b 100644 --- a/nrepl-client.el +++ b/nrepl-client.el @@ -843,8 +843,8 @@ It is safe to call this function multiple times on the same ID." "Make a response handler for connection BUFFER. A handler is a function that takes one argument - response received from the server process. The response is an alist that contains at least 'id' -and 'session' keys. Other standard response keys are 'value', 'out', 'err' -and 'status'. +and 'session' keys. Other standard response keys are 'value', 'out', 'err', +'pprint-out' and 'status'. The presence of a particular key determines the type of the response. For example, if 'value' key is present, the response is of type 'value', if @@ -854,10 +854,7 @@ handlers: VALUE-HANDLER, STDOUT-HANDLER, STDERR-HANDLER, DONE-HANDLER, EVAL-ERROR-HANDLER, and PPRINT-OUT-HANDLER. If the optional EVAL-ERROR-HANDLER is nil, the default `nrepl-err-handler' is used. If any of the other supplied handlers are nil nothing happens for the -corresponding type of response. - -When `nrepl-log-messages' is non-nil, *nrepl-messages* buffer contains -server responses." +corresponding type of response." (lambda (response) (nrepl-dbind-response response (value ns out err status id pprint-out) (when (buffer-live-p buffer) |