aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
authorEli Zaretskii2008-05-16 11:10:16 +0000
committerEli Zaretskii2008-05-16 11:10:16 +0000
commit1ccdfd3359b205f30819a5e22bf47dad3ead46b1 (patch)
tree41fa139c4244d8129eb1cc3c45531f8d2653e08b /src/frame.c
parent09eabf0fa5a289a2edc68b3455d8579ae79bb40b (diff)
downloademacs-1ccdfd3359b205f30819a5e22bf47dad3ead46b1.tar.gz
emacs-1ccdfd3359b205f30819a5e22bf47dad3ead46b1.zip
frame.c (Fdelete_frame): Don't call font_update_drviers if
HAVE_WINDOW_SYSTEM is not defined. xfaces.c (merge_face_ref, merge_face_vectors) (Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when HAVE_WINDOW_SYSTEM is defined. (Fface_font): Fix non-HAVE_WINDOW_SYSTEM case.
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.c b/src/frame.c
index 44bf4da5a87..c83caf460de 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1459,8 +1459,10 @@ But FORCE inhibits this too. */)
1459 memory. */ 1459 memory. */
1460 free_glyphs (f); 1460 free_glyphs (f);
1461 1461
1462#ifdef HAVE_WINDOW_SYSTEM
1462 /* Give chance to each font driver to free a frame specific data. */ 1463 /* Give chance to each font driver to free a frame specific data. */
1463 font_update_drivers (f, Qnil); 1464 font_update_drivers (f, Qnil);
1465#endif
1464 1466
1465 /* Mark all the windows that used to be on FRAME as deleted, and then 1467 /* Mark all the windows that used to be on FRAME as deleted, and then
1466 remove the reference to them. */ 1468 remove the reference to them. */