GNU bug report logs - #19346
25.0.50; url-http-parse-headers: Symbol's function definition is void: gnutls-available-p

Previous Next

Package: emacs;

Reported by: Yagnesh Raghava Yakkala <hi <at> yagnesh.org>

Date: Thu, 11 Dec 2014 10:58:02 UTC

Severity: normal

Tags: fixed

Found in version 25.0.50

Fixed in version 25.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #60 received at 19346 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: hi <at> yagnesh.org, 19346 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: 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
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




This bug report was last modified 10 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.