]> code.delx.au - gnu-emacs/blobdiff - src/xml.c
Fix compilation errors introduced by changes in extend_face_to_end_of_line.
[gnu-emacs] / src / xml.c
index 5a52b0c2a1eb72677d1eaacf342a193354e2c414..c330dce4a4a7ed3bf7e3e4470add25656600ad02 100644 (file)
--- a/src/xml.c
+++ b/src/xml.c
@@ -93,7 +93,7 @@ init_libxml2_functions (void)
 
       if (!(library = w32_delayed_load (Qlibxml2_dll)))
        {
-         message ("%s", "libxml2 library not found");
+         message1 ("libxml2 library not found");
          return 0;
        }
 
@@ -124,7 +124,7 @@ make_dom (xmlNode *node)
 {
   if (node->type == XML_ELEMENT_NODE)
     {
-      Lisp_Object result = Fcons (intern ((char *) node->name), Qnil);
+      Lisp_Object result = list1 (intern ((char *) node->name));
       xmlNode *child;
       xmlAttr *property;
       Lisp_Object plist = Qnil;