emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r113822: Add a test for decompressing gzipped da


From: Eli Zaretskii
Subject: Re: [Emacs-diffs] trunk r113822: Add a test for decompressing gzipped data
Date: Tue, 13 Aug 2013 19:27:26 +0300

> Date: Tue, 13 Aug 2013 07:47:58 -0700
> From: Paul Eggert <address@hidden>
> CC: Eli Zaretskii <address@hidden>, address@hidden, address@hidden
> 
> Stefan Monnier wrote:
> > The best would really be
> > 
> >    (if (fboundp 'zlib-decompress-region)
> >        (zlib-decompress-region ...)
> >      blabla)
> > 
> > but I guess we can't have that because we also want to lazy-load the
> > zlib shared library, right?
> 
> fboundp itself could do the lazy load, no?
> Or we could have an fboundp variant that
> does that.  That way, we don't need to have
> a FOO-available-p function for every loadable
> library FOO.

There are situations where testing the availability of a feature
without actually invoking the feature makes a lot of sense.  See my
other mail for the details.

In any case, we decide to get rid of the *-available-p functions, we
should do the same with images and gnutls.



reply via email to

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