aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRobert Pluim2017-11-03 11:33:06 +0200
committerEli Zaretskii2017-11-03 11:33:06 +0200
commit620247ac205b80ceb142ee70500ab2c3ffa46fe2 (patch)
treedeb29eb58c456575d69b51f92decb8faab550c45 /etc
parent92b2cedec60f47faa896963b51bfd370eb3e71cb (diff)
downloademacs-620247ac205b80ceb142ee70500ab2c3ffa46fe2.tar.gz
emacs-620247ac205b80ceb142ee70500ab2c3ffa46fe2.zip
New function 'libxml-available-p'
* src/emacs.c (main): Call syms_of_xml unconditionally. * src/lisp.h: Provide syms_of_xml prototype even when HAVE_LIBXML2 is not defined. * src/xml.c (Flibxml_available_p): New function, cloned from Fgnutls_available_p. (syms_of_xml): Provide Slibxml_available_p. * doc/lispref/text.texi (Parsing HTML/XML): Document libxml-available-p. (GnuTLS Cryptography, Format of GnuTLS Cryptography Inputs) (Document Object Model): Fix indentation of the first paragraph. * etc/NEWS (libxml-available-p): Mention libxml-available-p.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9ae36bdb032..f9481405e4e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -39,6 +39,14 @@ text.
39+++ 39+++
40** New function 'logcount' calculates an integer's Hamming weight. 40** New function 'logcount' calculates an integer's Hamming weight.
41 41
42+++
43** New function 'libxml-available-p'.
44This function returns non-nil if libxml support is both compiled in
45and available at run time. Lisp programs should use this function to
46detect built-in libxml support, instead of testing for that
47indirectly, e.g., by checking that functions like
48'libxml-parse-html-region' return nil.
49
42 50
43* Editing Changes in Emacs 27.1 51* Editing Changes in Emacs 27.1
44 52