]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/json.el (json-encode): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Tue, 9 Jul 2019 18:41:26 +0000 (21:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 9 Jul 2019 18:41:26 +0000 (21:41 +0300)
lisp/json.el

index d3655a0f26c408a951c27abaf3e3ad6ed598c74d..a36cff7c67b05282311571209a153c8e11620d01 100644 (file)
@@ -734,8 +734,8 @@ you will get the following structure returned:
   "Return a JSON representation of OBJECT as a string.
 
 OBJECT should have a structure like one returned by `json-read'.
-If an error is detected during encoding, an error based on
-`json-error' is signalled."
+If an error is detected during encoding, this function signals
+an error based on `json-error'."
   (cond ((memq object (list t json-null json-false))
          (json-encode-keyword object))
         ((stringp object)      (json-encode-string object))