Mercurial > emacs
comparison src/frame.c @ 35660:b9366f467430
* alloc.c (allocate_string) [macintosh]: Call check_string_bytes
only if current_sblock has been initialized.
* frame.c (Fdelete_frame) [macintosh]: Allow deletion of initial
terminal frame even if it is the only visible frame.
* src/macfns.c (QCconversion): Replaces QCalgorithm.
* src/macfns.c (image_ascent, lookup_image): Adapt to change of
image margins.
* src/macterm.c (x_produce_image_glyph, x_draw_image_foreground)
(x_draw_image_relief, x_draw_image_foreground_1)
(x_draw_image_glyph_string): Adapt to change of image margins.
* src/macterm.c (mac_to_x_fontname): Change charset name of
Simplify Chinese fonts from gb2312 to gb2312.1980 and Korean fonts
from ksc5601 to ksc5601.1989.
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Sun, 28 Jan 2001 11:23:07 +0000 |
parents | 3e7efd5ea1da |
children | b102dd3ed2a3 |
comparison
equal
deleted
inserted
replaced
35659:aa45cec8f927 | 35660:b9366f467430 |
---|---|
1072 } | 1072 } |
1073 | 1073 |
1074 if (! FRAME_LIVE_P (f)) | 1074 if (! FRAME_LIVE_P (f)) |
1075 return Qnil; | 1075 return Qnil; |
1076 | 1076 |
1077 if (NILP (force) && !other_visible_frames (f)) | 1077 if (NILP (force) && !other_visible_frames (f) |
1078 #ifdef macintosh | |
1079 /* Terminal frame deleted before any other visible frames are | |
1080 created. */ | |
1081 && strcmp (XSTRING (f->name)->data, "F1") != 0 | |
1082 #endif | |
1083 ) | |
1078 error ("Attempt to delete the sole visible or iconified frame"); | 1084 error ("Attempt to delete the sole visible or iconified frame"); |
1079 | 1085 |
1080 #if 0 | 1086 #if 0 |
1081 /* This is a nice idea, but x_connection_closed needs to be able | 1087 /* This is a nice idea, but x_connection_closed needs to be able |
1082 to delete the last frame, if it is gone. */ | 1088 to delete the last frame, if it is gone. */ |