summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-10 20:58:24 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-10 20:58:24 +0000
commite1160c38be32883360e5755faf39d0e0a0415e99 (patch)
tree25a371b0ea5ef40f60ec4e3b88b5e147b2eb7462 /src
parent4031f9284bc958bcd69d4da3230acb8044402458 (diff)
downloademacs-e1160c38be32883360e5755faf39d0e0a0415e99.tar.gz
(init_frame_faces): Build faces for an MSDOS frame like for X frame.
(Fmake_face_internal): Call `ensure_face_ready' for MSDOS frames. (Fset_face_attribute_internal): Support face attributes for MSDOS frames.
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index ced23638926..50a80b6f91c 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -567,7 +567,7 @@ init_frame_faces (f)
result = Qnil;
FOR_EACH_FRAME (tail, frame)
- if (FRAME_X_P (XFRAME (frame))
+ if ((FRAME_MSDOS_P (XFRAME (frame)) || FRAME_X_P (XFRAME (frame)))
&& XFRAME (frame) != f)
{
result = frame;
@@ -1121,7 +1121,7 @@ DEFUN ("make-face-internal", Fmake_face_internal, Smake_face_internal, 1, 1, 0,
FOR_EACH_FRAME (rest, frame)
{
- if (FRAME_X_P (XFRAME (frame)))
+ if (FRAME_MSDOS_P (XFRAME (frame)) || FRAME_X_P (XFRAME (frame)))
ensure_face_ready (XFRAME (frame), id);
}
return Qnil;
@@ -1148,7 +1148,7 @@ DEFUN ("set-face-attribute-internal", Fset_face_attribute_internal,
if (id < 0 || id >= next_face_id)
error ("Face id out of range");
- if (! FRAME_X_P (f))
+ if (! FRAME_X_P (f) && ! FRAME_MSDOS_P (f))
return Qnil;
ensure_face_ready (f, id);