From 8c9fe44cdc6b6d66757e61faa15f69e55ba6658e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 Jul 2019 21:41:26 +0300 Subject: [PATCH] ; * lisp/json.el (json-encode): Doc fix. --- lisp/json.el | 4 ++-- 1 file 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)) -- 2.39.5