gptel-openai: Typo in gptel--json-read
* gptel-openai.el (gptel--json-read): Fix typo in `gptel--json-read` that caused macroexpansion intended to use json.el fail. This error was reported by @vkz. Fix #260.
This commit is contained in:
parent
f24ec164cd
commit
53ee34653e
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
||||||
(defvar json-object-type)
|
(defvar json-object-type)
|
||||||
(declare-function json-read "json" ())
|
(declare-function json-read "json" ())
|
||||||
`(let ((json-object-type 'plist))
|
`(let ((json-object-type 'plist))
|
||||||
gptel--json-read)))
|
(json-read))))
|
||||||
|
|
||||||
(defmacro gptel--json-encode (object)
|
(defmacro gptel--json-encode (object)
|
||||||
(if (fboundp 'json-serialize)
|
(if (fboundp 'json-serialize)
|
||||||
|
|
Loading…
Add table
Reference in a new issue