aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog8
-rw-r--r--src/alloc.c6
-rw-r--r--src/frame.c8
3 files changed, 20 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ed697ce51ee..e5987f7fcc3 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
12001-01-28 Andrew Choi <akochoi@i-cable.com>
2
3 * alloc.c (allocate_string) [macintosh]: Call check_string_bytes
4 only if current_sblock has been initialized.
5
6 * frame.c (Fdelete_frame) [macintosh]: Allow deletion of initial
7 terminal frame even if it is the only visible frame.
8
12001-01-28 Kenichi Handa <handa@etl.go.jp> 92001-01-28 Kenichi Handa <handa@etl.go.jp>
2 10
3 * fontset.c (font_family_registry): Even if FONTNAME conform to 11 * fontset.c (font_family_registry): Even if FONTNAME conform to
diff --git a/src/alloc.c b/src/alloc.c
index b516695c0dd..4134d26fbd9 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1322,7 +1322,11 @@ allocate_string ()
1322 consing_since_gc += sizeof *s; 1322 consing_since_gc += sizeof *s;
1323 1323
1324#ifdef GC_CHECK_STRING_BYTES 1324#ifdef GC_CHECK_STRING_BYTES
1325 if (!noninteractive) 1325 if (!noninteractive
1326#ifdef macintosh
1327 && current_sblock
1328#endif
1329 )
1326 { 1330 {
1327 if (++check_string_bytes_count == 200) 1331 if (++check_string_bytes_count == 200)
1328 { 1332 {
diff --git a/src/frame.c b/src/frame.c
index 6850c92dc27..204eec30830 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -1074,7 +1074,13 @@ frame. The hook is called with one argument FRAME.")
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