From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 49660@debbugs.gnu.org
Subject: bug#49660: 28.0.50; json-available-p should exist
Date: Tue, 20 Jul 2021 18:45:22 +0300 [thread overview]
Message-ID: <83fsw956r1.fsf@gnu.org> (raw)
In-Reply-To: <87bl6xcaa6.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 20 Jul 2021 16:47:13 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: 49660@debbugs.gnu.org
> Date: Tue, 20 Jul 2021 16:47:13 +0200
>
> 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.
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.
next prev parent reply other threads:[~2021-07-20 15:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 12:53 bug#49660: 28.0.50; json-available-p should exist Lars Ingebrigtsen
2021-07-20 13:04 ` Eli Zaretskii
2021-07-20 13:43 ` Lars Ingebrigtsen
2021-07-20 14:47 ` Lars Ingebrigtsen
2021-07-20 15:45 ` Eli Zaretskii [this message]
2021-07-20 15:50 ` Lars Ingebrigtsen
2021-07-20 16:53 ` Eli Zaretskii
2021-07-21 10:50 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fsw956r1.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=49660@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.