# HG changeset patch # User Steven Tamm # Date 1105947344 0 # Node ID c43084d0b52b021d216d3e1c176f7fef4af5073d # Parent 98b0ed9e564dad820d464d6692114cb06e8af8e4 * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out some possibly unnecessary fontset checking code that crashed when creating a new frame diff -r 98b0ed9e564d -r c43084d0b52b src/ChangeLog --- a/src/ChangeLog Mon Jan 17 02:36:57 2005 +0000 +++ b/src/ChangeLog Mon Jan 17 07:35:44 2005 +0000 @@ -1,3 +1,9 @@ +2005-01-16 Steven Tamm + + * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out + some possibly unnecessary fontset checking code that crashed + when creating a new frame + 2005-01-15 Steven Tamm * macterm.c (Vmac_use_core_graphics): defined for diff -r 98b0ed9e564d -r c43084d0b52b src/macfns.c --- a/src/macfns.c Mon Jan 17 02:36:57 2005 +0000 +++ b/src/macfns.c Mon Jan 17 07:35:44 2005 +0000 @@ -1,4 +1,4 @@ -/* Graphical user interface functions for Mac OS. +s/* Graphical user interface functions for Mac OS. Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -2687,6 +2687,7 @@ BLOCK_INPUT; /* First, try whatever font the caller has specified. */ +#if 0 /* MAC_TODO: This crashed */ if (STRINGP (font)) { tem = Fquery_fontset (font, Qnil); @@ -2695,6 +2696,7 @@ else font = x_new_font (f, SDATA (font)); } +#endif /* Try out a font which we hope has bold and italic variations. */ if (! STRINGP (font)) @@ -3803,6 +3805,7 @@ BLOCK_INPUT; /* First, try whatever font the caller has specified. */ +#if 0 /* MAC_TODO: This crashed */ if (STRINGP (font)) { tem = Fquery_fontset (font, Qnil); @@ -3811,6 +3814,7 @@ else font = x_new_font (f, SDATA (font)); } +#endif /* Try out a font which we hope has bold and italic variations. */ if (! STRINGP (font))