From f80cc9fdfacd622146383c29affac47e66dddc1d Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 10 Jan 2008 12:31:02 +0000 Subject: [PATCH] (Finternal_set_lisp_face_attribute): Check if the frame is on a window system before accessing the fontset of the frame. --- src/xfaces.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xfaces.c b/src/xfaces.c index 51f13a30821..c2a5dd9d4a0 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -4540,6 +4540,7 @@ FRAME 0 means change the face on all frames, and change the default #ifdef USE_FONT_BACKEND if (enable_font_backend + && FRAME_WINDOW_P (XFRAME (frame)) && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value)) { int fontset; -- 2.39.5