[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49660: 28.0.50; json-available-p should exist
From: |
Lars Ingebrigtsen |
Subject: |
bug#49660: 28.0.50; json-available-p should exist |
Date: |
Tue, 20 Jul 2021 16:47:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Yeah, I guess there's really no other cleanish way to do this?
Oh, I thought of a simple hack: We could define json-available-p in
json.c, but we could also have (say) loadup.el check whether it's
defined, and if not, it can define a nil-returning stub? That'll mean a
whole lot less #ifdef-ing in json.c.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no