|
From: | Dmitry Gutov |
Subject: | Re: How to test for native JSON support? |
Date: | Tue, 4 May 2021 17:41:12 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
On 04.05.2021 17:32, Philipp Stephani wrote:
Can you make this signal a specific error symbol so that callers can catch the error and react accordingly, e.g. by falling back to json.el?
I almost certainly can, and it does sound like a good idea.I can't test the resulting patch, though (having no access to a Windows machine), and our Windows developers can better choose the symbol to use (AFAICT the situation with libraries possibly being absent at runtime is solely Windows-specific).
Step 2 might be to propagate the same error-signaling behavior to other features, like xml.c.
[Prev in Thread] | Current Thread | [Next in Thread] |