From: Kenichi Handa Date: Thu, 10 Jan 2008 12:31:02 +0000 (+0000) Subject: (Finternal_set_lisp_face_attribute): Check if the frame X-Git-Tag: emacs-pretest-23.0.90~8295^2~39 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f80cc9fdfacd622146383c29affac47e66dddc1d;p=emacs.git (Finternal_set_lisp_face_attribute): Check if the frame is on a window system before accessing the fontset of the frame. --- 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;