bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19346: 25.0.50; url-http-parse-headers: Symbol's function definition


From: Stefan Monnier
Subject: bug#19346: 25.0.50; url-http-parse-headers: Symbol's function definition is void: gnutls-available-p
Date: Fri, 12 Dec 2014 09:47:30 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

SM> And what I'm saying is that (require '<modulename> nil t)
SM> *is* the replacement for (<modulename>-available-p).
SM> There is no need for any manual management.
> I really think they are different things.  One loads the module, the
> other indicates the module's functionality is available.

Check again: gnutls-available-p *does* load the module (if available).

It's very unusual to test whether something is available and yet not
make use of it when it is, which is why those two concepts are usually
conflated, which makes things simpler.  If you really need to check
without loading, you should be able to use `locate-library'.


        Stefan





reply via email to

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