diff options
author | Kenichi Handa <handa@m17n.org> | 2008-01-10 12:31:02 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2008-01-10 12:31:02 +0000 |
commit | 33928e7f95707a1f0eae469b39e5435ac2d2a9b8 (patch) | |
tree | deade4f74418dbcb112028684e4ddb2513d16a68 /src/xfaces.c | |
parent | 269437d8bf1338205563f7dad7e74e0047cb272b (diff) | |
download | emacs-33928e7f95707a1f0eae469b39e5435ac2d2a9b8.tar.gz |
(Finternal_set_lisp_face_attribute): Check if the frame
is on a window system before accessing the fontset of the frame.
Diffstat (limited to 'src/xfaces.c')
-rw-r--r-- | src/xfaces.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |