mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-09 15:50:21 +00:00
Minor doc string fixes in json.c
* src/json.c (Fjson_serialize, Fjson_insert): Fix 'usage'.
This commit is contained in:
parent
67946b0cde
commit
bd68321df1
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user