diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-06-30 19:35:18 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2004-06-30 19:35:18 +0000 |
commit | 734e9514206d19b84699d4a0486ec20a5ca98278 (patch) | |
tree | 574bf725ebf5b4f0bb79386ceb14c1d6d90fb5c4 /src/xfaces.c | |
parent | 4f55e211b47532257e0013f2089e62f07a68bc57 (diff) | |
download | emacs-734e9514206d19b84699d4a0486ec20a5ca98278.tar.gz |
(x_supports_face_attributes_p)
(Fdisplay_supports_face_attributes_p): YAILOM.
(tty_supports_face_attributes_p): Remove unused var `i'.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 17f4490774c..7f5012f3e0a 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -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); } |