diff options
Diffstat (limited to 'lisp/json.el')
-rw-r--r-- | lisp/json.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/json.el b/lisp/json.el index b03a482ca6e..d374f452e6b 100644 --- a/lisp/json.el +++ b/lisp/json.el @@ -685,7 +685,7 @@ become JSON objects." (push (list c 'json-read-number) table)) (pcase-dolist (`(,c . ,rest) table) (push `((eq ,char ,c) (,@rest)) res)) - `(cond ,@res (t (signal 'json-readtable-error ,char))))) + `(cond ,@res (t (signal 'json-readtable-error (list ,char)))))) (defun json-read () "Parse and return the JSON object following point. |