Subject: Re: bug#49660: 28.0.50; json-available-p should exist

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 20 Jul 2021 17:50:17 +0200

Eli Zaretskii <[email-masked]> writes:

> If you are ready to define json-available-p somewhere other than
> json.c, then you could simply do that in subr.el or somesuch.  It
> would be cleaner than defining stubs in loadup.el.

The meats of json-available-p have to be in json.c, though?  (It has to
call init_json_functions (on Windows) to see whether we have the DLL or
not.)

We could have a json--available-p in json.c that does that, but it
doesn't seem less hackey...  but I guess it doesn't really matter
much -- neither solution is super clean.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no