summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2024-04-02 17:51:38 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2024-04-02 19:06:39 +0200
commit0670032c0dc03c0df6e11b5411b8d10fc61a7d41 (patch)
tree7a6e4c2f2e34eaa616c47a2ec0b9d6e1e470594b /doc
parent9af533dc751e5220a545ca7e15456992cbbfab98 (diff)
downloademacs-0670032c0dc03c0df6e11b5411b8d10fc61a7d41.tar.gz
json-insert doc fixes
* src/json.c (Fjson_insert): Precise the behaviour when the current buffer is multibyte and unibyte, respectively. * doc/lispref/text.texi (Parsing JSON): Refer to the right function.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/text.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 90e2c6ce882..18f0ee88fe5 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -5833,7 +5833,7 @@ keyword @code{false}. It defaults to the symbol @code{:false}.
@defun json-insert object &rest args
This function inserts the JSON representation of @var{object} into the
current buffer before point. The argument @var{args} are interpreted
-as in @code{json-parse-string}.
+as in @code{json-serialize}.
@end defun
@defun json-parse-string string &rest args