]> git.eshelyaron.com Git - emacs.git/commitdiff
libxml-parse-*-region calling convention fix
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 24 Apr 2018 14:46:42 +0000 (16:46 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 24 Apr 2018 14:46:42 +0000 (16:46 +0200)
* lisp/subr.el (libxml-parse-xml-region)
(libxml-parse-html-region): Adjust the calling convention to note
that the final parameter is optional.

lisp/subr.el

index 9cf7d596cd9fb26c4bb03f7eb070f1d1f31e4081..74d4a7f427ac7342e319f2fe581de0504d4c94e7 100644 (file)
@@ -1456,8 +1456,8 @@ be a list of the form returned by `event-start' and `event-end'."
 (set-advertised-calling-convention 'unintern '(name obarray) "23.3")
 (set-advertised-calling-convention 'indirect-function '(object) "25.1")
 (set-advertised-calling-convention 'redirect-frame-focus '(frame focus-frame) "24.3")
-(set-advertised-calling-convention 'libxml-parse-xml-region '(start end base-url) "27.1")
-(set-advertised-calling-convention 'libxml-parse-html-region '(start end base-url) "27.1")
+(set-advertised-calling-convention 'libxml-parse-xml-region '(start end &optional base-url) "27.1")
+(set-advertised-calling-convention 'libxml-parse-html-region '(start end &optional base-url) "27.1")
 \f
 ;;;; Obsolescence declarations for variables, and aliases.