diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-04-29 09:39:15 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-04-29 09:39:15 +0300 |
commit | b4f2f499783386ed1290393790065b96273ae884 (patch) | |
tree | 5f0e5106facee6db5bcdfda670b4e9ad533f1eaa /doc | |
parent | 5dd784961d19a4575dfb60bcdba55bbfddcc9ba9 (diff) | |
download | emacs-b4f2f499783386ed1290393790065b96273ae884.tar.gz |
Fix documentation of libxml-parse-* functions
* doc/lispref/text.texi (Parsing HTML/XML):
* src/xml.c (Flibxml_parse_html_region, Flibxml_parse_xml_region):
Update the documentation regarding the use of BASE-URL argument.
(Bug#63125)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/text.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi index 4c13185b0dd..f15b3c33e0c 100644 --- a/doc/lispref/text.texi +++ b/doc/lispref/text.texi @@ -5510,7 +5510,7 @@ contents of an SQLite database. @section Parsing HTML and XML @cindex parsing html - Emacs can be compiled with built-in libxml2 support. + Emacs can be compiled with built-in @file{libxml2} support. @defun libxml-available-p This function returns non-@code{nil} if built-in libxml2 support is @@ -5529,8 +5529,10 @@ mistakes. If @var{start} or @var{end} are @code{nil}, they default to the values from @code{point-min} and @code{point-max}, respectively. -The optional argument @var{base-url}, if non-@code{nil}, should be a -string specifying the base URL for relative URLs occurring in links. +The optional argument @var{base-url}, if non-@code{nil}, should be +used for warnings and errors reported by the @file{libxml2} library, +but Emacs currently calls the library with errors and warnings +disabled, so this argument is not used. If the optional argument @var{discard-comments} is non-@code{nil}, any top-level comment is discarded. (This argument is obsolete and |