emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8c9fe44: ; * lisp/json.el (json-encode): Doc fix.


From: Eli Zaretskii
Subject: [Emacs-diffs] master 8c9fe44: ; * lisp/json.el (json-encode): Doc fix.
Date: Tue, 9 Jul 2019 14:42:10 -0400 (EDT)

branch: master
commit 8c9fe44cdc6b6d66757e61faa15f69e55ba6658e
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * 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 d3655a0..a36cff7 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]