]> git.eshelyaron.com Git - emacs.git/commitdiff
Rephrase a confusing sentence in the jsonrpc.el manual
authorJoão Távora <joaotavora@gmail.com>
Sun, 16 Dec 2018 11:45:27 +0000 (11:45 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 16 Dec 2018 11:45:27 +0000 (11:45 +0000)
* doc/lispref/text.texi (JSONRPC Overview): Rephrase first
sentence on building JSONRPC applications.

doc/lispref/text.texi

index 6d93264758f231c1cb2b8b7e7572735b90733745..d0185eb08eeae0733133b836b7ada4c40edcef29 100644 (file)
@@ -5179,11 +5179,11 @@ class:
 
 @item A user interface for building JSONRPC applications
 
-In this scenario, the JSONRPC application instantiates
-@code{jsonrpc-connection} objects of one of its concrete subclasses
-using @code{make-instance}.  To initiate a contact to the remote
-endpoint, the JSONRPC application passes this object to the functions
-@code{jsonrpc-notify'}, @code{jsonrpc-request} and
+In this scenario, the JSONRPC application selects a concrete subclass
+of @code{jsonrpc-connection}, and proceeds to create objects of that
+subclass using @code{make-instance}.  To initiate a contact to the
+remote endpoint, the JSONRPC application passes this object to the
+functions @code{jsonrpc-notify'}, @code{jsonrpc-request} and
 @code{jsonrpc-async-request}.  For handling remotely initiated
 contacts, which generally come in asynchronously, the instantiation
 should include @code{:request-dispatcher} and