aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSteven Tamm2005-01-17 07:35:44 +0000
committerSteven Tamm2005-01-17 07:35:44 +0000
commitfb9c607c24637d602a8b78a90cf5b9e0fb57246a (patch)
treef80ee4fe9d62bd8100b7340eb826888fc0d6a476 /src
parent1d61b3ed1faa6b158ad7aaa5e0c3224175536346 (diff)
downloademacs-fb9c607c24637d602a8b78a90cf5b9e0fb57246a.tar.gz
emacs-fb9c607c24637d602a8b78a90cf5b9e0fb57246a.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/macfns.c6
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 18bd89e9dda..f1d6ee0c54d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12005-01-16 Steven Tamm <steventamm@mac.com>
2
3 * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out
4 some possibly unnecessary fontset checking code that crashed
5 when creating a new frame
6
12005-01-15 Steven Tamm <steventamm@mac.com> 72005-01-15 Steven Tamm <steventamm@mac.com>
2 8
3 * macterm.c (Vmac_use_core_graphics): defined for 9 * macterm.c (Vmac_use_core_graphics): defined for
diff --git a/src/macfns.c b/src/macfns.c
index 33da9091575..11fb088e30d 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -1,4 +1,4 @@
1/* Graphical user interface functions for Mac OS. 1s/* Graphical user interface functions for Mac OS.
2 Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc. 2 Copyright (C) 2000, 2001, 2004 Free Software Foundation, Inc.
3 3
4This file is part of GNU Emacs. 4This file is part of GNU Emacs.
@@ -2687,6 +2687,7 @@ This function is an internal primitive--use `make-frame' instead. */)
2687 2687
2688 BLOCK_INPUT; 2688 BLOCK_INPUT;
2689 /* First, try whatever font the caller has specified. */ 2689 /* First, try whatever font the caller has specified. */
2690#if 0 /* MAC_TODO: This crashed */
2690 if (STRINGP (font)) 2691 if (STRINGP (font))
2691 { 2692 {
2692 tem = Fquery_fontset (font, Qnil); 2693 tem = Fquery_fontset (font, Qnil);
@@ -2695,6 +2696,7 @@ This function is an internal primitive--use `make-frame' instead. */)
2695 else 2696 else
2696 font = x_new_font (f, SDATA (font)); 2697 font = x_new_font (f, SDATA (font));
2697 } 2698 }
2699#endif
2698 2700
2699 /* Try out a font which we hope has bold and italic variations. */ 2701 /* Try out a font which we hope has bold and italic variations. */
2700 if (! STRINGP (font)) 2702 if (! STRINGP (font))
@@ -3803,6 +3805,7 @@ x_create_tip_frame (dpyinfo, parms, text)
3803 3805
3804 BLOCK_INPUT; 3806 BLOCK_INPUT;
3805 /* First, try whatever font the caller has specified. */ 3807 /* First, try whatever font the caller has specified. */
3808#if 0 /* MAC_TODO: This crashed */
3806 if (STRINGP (font)) 3809 if (STRINGP (font))
3807 { 3810 {
3808 tem = Fquery_fontset (font, Qnil); 3811 tem = Fquery_fontset (font, Qnil);
@@ -3811,6 +3814,7 @@ x_create_tip_frame (dpyinfo, parms, text)
3811 else 3814 else
3812 font = x_new_font (f, SDATA (font)); 3815 font = x_new_font (f, SDATA (font));
3813 } 3816 }
3817#endif
3814 3818
3815 /* Try out a font which we hope has bold and italic variations. */ 3819 /* Try out a font which we hope has bold and italic variations. */
3816 if (! STRINGP (font)) 3820 if (! STRINGP (font))