]> git.eshelyaron.com Git - emacs.git/commit
Fix 'json-available-p' on MS-Windows
authorMattias EngdegÄrd <mattias.engdegard@gmail.com>
Sun, 25 Dec 2022 14:32:06 +0000 (15:32 +0100)
committerEli Zaretskii <eliz@gnu.org>
Mon, 26 Dec 2022 13:12:04 +0000 (15:12 +0200)
commit082fc6e3088354f16ab8293725cc727a9855359b
treefc9e6724b2a5f1bafba92f1129318deeab0001f8
parent6c86faec29e7e9f12b71886dc66b62e1da43cdf7
Fix 'json-available-p' on MS-Windows

* src/json.c (json_available_p, ensure_json_available)
(Fjson__available_p): New functions.
(Fjson_serialize, Fjson_insert, Fjson_parse_string)
(Fjson_parse_buffer): Use ensure_json_available.
(syms_of_json): Defsubr json--available-p.

* lisp/subr.el (json-available-p): Rewrite.
lisp/subr.el
src/json.c