emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master f7c8a12: ; Fix arglist doc of json parse functions


From: Philipp Stephani
Subject: [Emacs-diffs] master f7c8a12: ; Fix arglist doc of json parse functions
Date: Sat, 3 Feb 2018 09:18:04 -0500 (EST)

branch: master
commit f7c8a12b12f5344100d3da192c0ec80f69ed55a9
Author: Basil L. Contovounesios <address@hidden>
Commit: Philipp Stephani <address@hidden>

    ; Fix arglist doc of json parse functions
    
    * src/json.c (Fjson_parse_string, Fjson_parse_buffer):
    Fix "usage:" arglist doc.
---
 src/json.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/json.c b/src/json.c
index 12ba7af..b046d34 100644
--- a/src/json.c
+++ b/src/json.c
@@ -740,7 +740,7 @@ object, all but the last one are ignored.  If STRING 
doesn't contain a
 valid JSON object, an error of type `json-parse-error' is signaled.
 The keyword argument `:object-type' specifies which Lisp type is used
 to represent objects; it can be `hash-table' or `alist'.
-usage: (string &key (OBJECT-TYPE \\='hash-table)) */)
+usage: (json-parse-string STRING &key (OBJECT-TYPE \\='hash-table))  */)
   (ptrdiff_t nargs, Lisp_Object *args)
 {
   ptrdiff_t count = SPECPDL_INDEX ();
@@ -813,7 +813,7 @@ DEFUN ("json-parse-buffer", Fjson_parse_buffer, 
Sjson_parse_buffer,
 This is similar to `json-parse-string', which see.  Move point after
 the end of the object if parsing was successful.  On error, point is
 not moved.
-usage: (&key (OBJECT-TYPE \\='hash-table))  */)
+usage: (json-parse-buffer &key (OBJECT-TYPE \\='hash-table))  */)
   (ptrdiff_t nargs, Lisp_Object *args)
 {
   ptrdiff_t count = SPECPDL_INDEX ();



reply via email to

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