[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What's the right way to detect libxml2?

From: Andy Moreton
Subject: Re: What's the right way to detect libxml2?
Date: Tue, 24 Oct 2017 16:33:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)

On Tue 24 Oct 2017, Clément Pit-Claudel wrote:

> On 2017-10-24 09:38, Andy Moreton wrote:
>> For libxml2, try using (shr-render-buffer) on an HTML/XML buffer to get
>> the library loaded.
> Is that better than just calling libxml-parse-xml-region and checking for a
> nil return value? It sounds like shr-render-buffer would do a lot more — do we
> need that?

No, it was just an example of doing something to force the library to be
loaded. Your version is simpler, and having (libxml-available-p) would
be even better.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]