summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-07-09 21:41:26 +0300
committerEli Zaretskii <eliz@gnu.org>2019-07-09 21:41:26 +0300
commit8c9fe44cdc6b6d66757e61faa15f69e55ba6658e (patch)
tree7fbd015f184bcfc7a6f766559b1532925bf259eb
parent7c317c835ad506ec0e1029836b19fbbca9e0ae3b (diff)
downloademacs-8c9fe44cdc6b6d66757e61faa15f69e55ba6658e.tar.gz
; * lisp/json.el (json-encode): Doc fix.
-rw-r--r--lisp/json.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/json.el b/lisp/json.el
index d3655a0f26c..a36cff7c67b 100644
--- a/lisp/json.el
+++ b/lisp/json.el
@@ -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))