[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bd68321: Minor doc string fixes in json.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master bd68321: Minor doc string fixes in json.c |
Date: |
Sat, 16 Jun 2018 06:41:36 -0400 (EDT) |
branch: master
commit bd68321df157ef82190e0992fc030d1acc922a7b
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Minor doc string fixes in json.c
* src/json.c (Fjson_serialize, Fjson_insert): Fix 'usage'.
---
src/json.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/json.c b/src/json.c
index d30c997..ea941d7 100644
--- a/src/json.c
+++ b/src/json.c
@@ -574,7 +574,7 @@ represent a JSON false value. It defaults to `:false'.
In you specify the same value for `:null-object' and `:false-object',
a potentially ambiguous situation, the JSON output will not contain
any JSON false values.
-usage: (json-serialize STRING &rest ARGS) */)
+usage: (json-serialize OBJECT &rest ARGS) */)
(ptrdiff_t nargs, Lisp_Object *args)
{
ptrdiff_t count = SPECPDL_INDEX ();
@@ -658,7 +658,8 @@ DEFUN ("json-insert", Fjson_insert, Sjson_insert, 1, MANY,
doc: /* Insert the JSON representation of OBJECT before point.
This is the same as (insert (json-serialize OBJECT)), but potentially
faster. See the function `json-serialize' for allowed values of
-OBJECT. */)
+OBJECT.
+usage: (json-insert OBJECT &rest ARGS) */)
(ptrdiff_t nargs, Lisp_Object *args)
{
ptrdiff_t count = SPECPDL_INDEX ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master bd68321: Minor doc string fixes in json.c,
Eli Zaretskii <=