aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-05 17:26:36 +0200
committerEli Zaretskii2017-11-05 17:26:36 +0200
commitc572e1f329583d40a6ae1a6cf493aba4a58c08e4 (patch)
treeefef82da71ae59786a6530814ceba501eb3f6d41 /doc
parenta2cc6d74c5b94633e7fc044765e0ef40a8d63f50 (diff)
downloademacs-c572e1f329583d40a6ae1a6cf493aba4a58c08e4.tar.gz
emacs-c572e1f329583d40a6ae1a6cf493aba4a58c08e4.zip
Return non-nil from gnutls-available-p under GnuTLS 2.x
* doc/misc/emacs-gnutls.texi (Help For Users): Update the documentation of 'gnutls-available-p'. * etc/NEWS (GnuTLS): Mention the change in the value returned by 'gnutls-available-p'. * src/gnutls.c (Fgnutls_available_p): Return non-nil when GnuTLS 2.x is available. (Bug#29147)
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/emacs-gnutls.texi6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/misc/emacs-gnutls.texi b/doc/misc/emacs-gnutls.texi
index 0ad48b0b9ec..92846a924c5 100644
--- a/doc/misc/emacs-gnutls.texi
+++ b/doc/misc/emacs-gnutls.texi
@@ -94,7 +94,11 @@ There's one way to find out if GnuTLS is available, by calling
94Zaretskii) in the same directory as Emacs, you should be OK. 94Zaretskii) in the same directory as Emacs, you should be OK.
95 95
96@defun gnutls-available-p 96@defun gnutls-available-p
97This function returns @code{t} if GnuTLS is available in this instance of Emacs. 97This function returns non-@code{nil} if GnuTLS is available in this
98instance of Emacs, @code{nil} otherwise. If GnuTLS is available, the
99value is a list of GnuTLS capabilities supported by the installed
100GnuTLS library, which depends on the library version. The meaning of
101the capabilities is documented in the doc string of this function.
98@end defun 102@end defun
99 103
100Oh, but sometimes things go wrong. Budgets aren't balanced, 104Oh, but sometimes things go wrong. Budgets aren't balanced,