diff options
| author | Kenichi Handa | 2008-01-10 12:31:02 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-01-10 12:31:02 +0000 |
| commit | f80cc9fdfacd622146383c29affac47e66dddc1d (patch) | |
| tree | 688ead7920e6337bdaddee7c3d3a4dcd63294672 /src | |
| parent | fd7ec851c6ca45adc3f060b8f824820080abc674 (diff) | |
| download | emacs-f80cc9fdfacd622146383c29affac47e66dddc1d.tar.gz emacs-f80cc9fdfacd622146383c29affac47e66dddc1d.zip | |
(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')
| -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 | |||
| 4540 | 4540 | ||
| 4541 | #ifdef USE_FONT_BACKEND | 4541 | #ifdef USE_FONT_BACKEND |
| 4542 | if (enable_font_backend | 4542 | if (enable_font_backend |
| 4543 | && FRAME_WINDOW_P (XFRAME (frame)) | ||
| 4543 | && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value)) | 4544 | && !UNSPECIFIEDP (value) && !IGNORE_DEFFACE_P (value)) |
| 4544 | { | 4545 | { |
| 4545 | int fontset; | 4546 | int fontset; |