branch: externals/plz
commit 65030d5cc1d51fcff7ab95b6363e4ac3453a2577
Author: Adam Porter <a...@alphapapa.net>
Commit: Adam Porter <a...@alphapapa.net>

    Tidy: Docstring
---
 README.org | 2 +-
 plz.el     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index beb08a1d90..06e9f7c48c 100644
--- a/README.org
+++ b/README.org
@@ -105,7 +105,7 @@ Synchronously download a JPEG file, then create an Emacs 
image object from the d
     - ~binary~ to pass the response body as an undecoded string.
     - ~string~ to pass the response body as a decoded string.
     - ~response~ to pass a ~plz-response~ struct.
-    - A function, which is called in the response buffer with it narrowed to 
the response body (suitable for, e.g. ~json-read~).
+    - A function, to pass its return value; it is called in the response 
buffer, which is narrowed to the response body (suitable for, e.g. ~json-read~).
 
   If ~DECODE~ is non-nil, the response body is decoded automatically.  For 
binary content, it should be nil.  When ~AS~ is ~binary~, ~DECODE~ is 
automatically set to nil.
 
diff --git a/plz.el b/plz.el
index 50ac5ccc74..ab4f4f89a5 100644
--- a/plz.el
+++ b/plz.el
@@ -241,7 +241,7 @@ For binary content, it should be nil.  When AS is `binary',
 DECODE is automatically set to nil.
 
 THEN is a callback function, whose sole argument is selected
-above with AS.  Or it may be `sync' to make a synchronous
+above with AS.  Or THEN may be `sync' to make a synchronous
 request, in which case the result is returned directly.
 
 ELSE is an optional callback function called when the request

Reply via email to