Mercurial > emacs
changeset 15383:9a6c8d10ac5f
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 10 Jun 1996 20:58:24 +0000 |
parents | 274f64e997f0 |
children | fcb239c22d04 |
files | src/xfaces.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xfaces.c Mon Jun 10 20:56:25 1996 +0000 +++ b/src/xfaces.c Mon Jun 10 20:58:24 1996 +0000 @@ -567,7 +567,7 @@ 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 @@ 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 @@ 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);