# HG changeset patch # User Kenichi Handa # Date 1199968262 0 # Node ID 06266d5f46a1ba18c786f486971a21883919b926 # Parent 6b6e684740e5b382bcd791888f52ff6d81f504b9 (Finternal_set_lisp_face_attribute): Check if the frame is on a window system before accessing the fontset of the frame. diff -r 6b6e684740e5 -r 06266d5f46a1 src/xfaces.c --- a/src/xfaces.c Wed Jan 09 03:27:04 2008 +0000 +++ b/src/xfaces.c Thu Jan 10 12:31:02 2008 +0000 @@ -4540,6 +4540,7 @@ #ifdef USE_FONT_BACKEND if (enable_font_backend + && FRAME_WINDOW_P (XFRAME (frame)) && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value)) { int fontset;