aboutsummaryrefslogtreecommitdiffstats
path: root/src/frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.c')
-rw-r--r--src/frame.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index 761e6cc9a77..6320d0ca1ff 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -3400,7 +3400,13 @@ x_set_font (f, arg, oldval)
3400 if (FRAME_FACE_CACHE (f)) 3400 if (FRAME_FACE_CACHE (f))
3401 { 3401 {
3402 XSETFRAME (frame, f); 3402 XSETFRAME (frame, f);
3403 call1 (Qface_set_after_frame_default, frame); 3403 /* We used to call face-set-after-frame-default here, but it leads to
3404 recursive calls (since that function can set the `default' face's
3405 font which in turns changes the frame's `font' parameter).
3406 Also I don't know what this call is meant to do, but it seems the
3407 wrong way to do it anyway (it does a lot more work than what seems
3408 reasonable in response to a change to `font'). */
3409 /* call1 (Qface_set_after_frame_default, frame); */
3404 } 3410 }
3405} 3411}
3406 3412