From: Eli Zaretskii Date: Tue, 9 Jul 2019 18:41:26 +0000 (+0300) Subject: ; * lisp/json.el (json-encode): Doc fix. X-Git-Tag: emacs-27.0.90~2034^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c9fe44cdc6b6d66757e61faa15f69e55ba6658e;p=emacs.git ; * lisp/json.el (json-encode): Doc fix. --- 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))