From 50e3dcf5de907e4915fe99ce28ce69f4ed05323a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 10 Jun 1996 20:58:24 +0000 Subject: [PATCH] (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. --- src/xfaces.c | 6 +++--- 1 file 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); -- 2.39.2