diff options
| author | Basil L. Contovounesios | 2018-01-30 11:10:14 +0000 |
|---|---|---|
| committer | Philipp Stephani | 2018-02-03 15:17:10 +0100 |
| commit | f7c8a12b12f5344100d3da192c0ec80f69ed55a9 (patch) | |
| tree | 426445fed699bf554989d757e67f16f12563ab57 /src/json.c | |
| parent | 84c9dba4cee052b68b194c3a2e5c297a94d8c8af (diff) | |
| download | emacs-f7c8a12b12f5344100d3da192c0ec80f69ed55a9.tar.gz emacs-f7c8a12b12f5344100d3da192c0ec80f69ed55a9.zip | |
; Fix arglist doc of json parse functions
* src/json.c (Fjson_parse_string, Fjson_parse_buffer):
Fix "usage:" arglist doc.
Diffstat (limited to 'src/json.c')
| -rw-r--r-- | src/json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c index 12ba7afa6a0..b046d34f667 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 | |||
| 740 | valid JSON object, an error of type `json-parse-error' is signaled. | 740 | valid JSON object, an error of type `json-parse-error' is signaled. |
| 741 | The keyword argument `:object-type' specifies which Lisp type is used | 741 | The keyword argument `:object-type' specifies which Lisp type is used |
| 742 | to represent objects; it can be `hash-table' or `alist'. | 742 | to represent objects; it can be `hash-table' or `alist'. |
| 743 | usage: (string &key (OBJECT-TYPE \\='hash-table)) */) | 743 | usage: (json-parse-string STRING &key (OBJECT-TYPE \\='hash-table)) */) |
| 744 | (ptrdiff_t nargs, Lisp_Object *args) | 744 | (ptrdiff_t nargs, Lisp_Object *args) |
| 745 | { | 745 | { |
| 746 | ptrdiff_t count = SPECPDL_INDEX (); | 746 | ptrdiff_t count = SPECPDL_INDEX (); |
| @@ -813,7 +813,7 @@ DEFUN ("json-parse-buffer", Fjson_parse_buffer, Sjson_parse_buffer, | |||
| 813 | This is similar to `json-parse-string', which see. Move point after | 813 | This is similar to `json-parse-string', which see. Move point after |
| 814 | the end of the object if parsing was successful. On error, point is | 814 | the end of the object if parsing was successful. On error, point is |
| 815 | not moved. | 815 | not moved. |
| 816 | usage: (&key (OBJECT-TYPE \\='hash-table)) */) | 816 | usage: (json-parse-buffer &key (OBJECT-TYPE \\='hash-table)) */) |
| 817 | (ptrdiff_t nargs, Lisp_Object *args) | 817 | (ptrdiff_t nargs, Lisp_Object *args) |
| 818 | { | 818 | { |
| 819 | ptrdiff_t count = SPECPDL_INDEX (); | 819 | ptrdiff_t count = SPECPDL_INDEX (); |