(x_supports_face_attributes_p)
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Jun 2004 19:35:18 +0000 (19:35 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 30 Jun 2004 19:35:18 +0000 (19:35 +0000)
(Fdisplay_supports_face_attributes_p): YAILOM.
(tty_supports_face_attributes_p): Remove unused var `i'.

src/xfaces.c

index 17f4490..7f5012f 100644 (file)
@@ -5848,7 +5848,7 @@ x_supports_face_attributes_p (f, attrs, def_face)
       face = FACE_FROM_ID (f, lookup_face (f, merged_attrs, 0, 0));
 
       if (! face)
-       signal_error ("cannot make face", 0);
+       error ("cannot make face");
 
       /* If the font is the same, then not supported.  */
       if (face->font == def_face->font)
@@ -5883,7 +5883,7 @@ tty_supports_face_attributes_p (f, attrs, def_face)
      Lisp_Object *attrs;
      struct face *def_face;
 {
-  int weight, i;
+  int weight;
   Lisp_Object val, fg, bg;
   XColor fg_tty_color, fg_std_color;
   XColor bg_tty_color, bg_std_color;
@@ -6105,7 +6105,7 @@ face for italic. */)
   if (def_face == NULL)
     {
       if (! realize_basic_faces (f))
-       signal_error ("Cannot realize default face", 0);
+       error ("Cannot realize default face");
       def_face = FACE_FROM_ID (f, DEFAULT_FACE_ID);
     }