]> git.eshelyaron.com Git - emacs.git/commit
Simplify last change (bug#60311)
authorEli Zaretskii <eliz@gnu.org>
Mon, 26 Dec 2022 13:26:48 +0000 (15:26 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 26 Dec 2022 13:26:48 +0000 (15:26 +0200)
commit26b2ec7cb8c81db7d8705cb87579b325901ed303
treefb6036fa6f0a342c777e0a267ec511125f5d0602
parent082fc6e3088354f16ab8293725cc727a9855359b
Simplify last change (bug#60311)

* src/json.c (json_available_p): Use original code.  Always return
true for !WINDOWSNT.
(ensure_json_available): Now defined only on WINDOWSNT.
(Fjson_serialize, Fjson_insert, Fjson_parse_string)
(Fjson_parse_buffer): Call ensure_json_available only on
WINDOWSNT.

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