diff options
| author | Robert Pluim | 2017-11-03 11:33:06 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-11-03 11:33:06 +0200 |
| commit | 620247ac205b80ceb142ee70500ab2c3ffa46fe2 (patch) | |
| tree | deb29eb58c456575d69b51f92decb8faab550c45 /src/lisp.h | |
| parent | 92b2cedec60f47faa896963b51bfd370eb3e71cb (diff) | |
| download | emacs-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 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lisp.h b/src/lisp.h index 78843483edc..1ce32f33420 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -4391,9 +4391,9 @@ extern void syms_of_xterm (void); | |||
| 4391 | extern char *x_get_keysym_name (int); | 4391 | extern char *x_get_keysym_name (int); |
| 4392 | #endif /* HAVE_WINDOW_SYSTEM */ | 4392 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 4393 | 4393 | ||
| 4394 | #ifdef HAVE_LIBXML2 | ||
| 4395 | /* Defined in xml.c. */ | 4394 | /* Defined in xml.c. */ |
| 4396 | extern void syms_of_xml (void); | 4395 | extern void syms_of_xml (void); |
| 4396 | #ifdef HAVE_LIBXML2 | ||
| 4397 | extern void xml_cleanup_parser (void); | 4397 | extern void xml_cleanup_parser (void); |
| 4398 | #endif | 4398 | #endif |
| 4399 | 4399 | ||