comparison src/frame.c @ 87730:91da483b3fa5

* movemail.c: * make-docfile.c: Remove reference to symbols defined by systems not supported anymore: MAC_OS8, XENIX and STRIDE. * (src/m/mips.h): * (src/m/intel386.h): * callproc.c: * config.in: * ecrt0.c: * emacs.c: * fileio.c: * frame.c: * getpagesize.h: * keyboard.c: * lread.c: * process.c: * puresize.h: * sysdep.c: * systty.h: * syswait.h: * unexec.c: * xdisp.c: * alloc.c: Remove code containing references to symbols defined by unsupported systems.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 13 Jan 2008 00:43:55 +0000
parents 107ccd98fa12
children c70e45a7acfd
comparison
equal deleted inserted replaced
87729:47fbf21cf3d3 87730:91da483b3fa5
591 } 591 }
592 } 592 }
593 else 593 else
594 f->output_method = output_termcap; 594 f->output_method = output_termcap;
595 #else 595 #else
596 #ifdef MAC_OS8
597 make_mac_terminal_frame (f);
598 #else
599 { 596 {
600 f->output_method = output_termcap; 597 f->output_method = output_termcap;
601 f->terminal = terminal; 598 f->terminal = terminal;
602 f->terminal->reference_count++; 599 f->terminal->reference_count++;
603 create_tty_output (f); 600 create_tty_output (f);
618 615
619 #ifdef CANNOT_DUMP 616 #ifdef CANNOT_DUMP
620 FRAME_FOREGROUND_PIXEL(f) = FACE_TTY_DEFAULT_FG_COLOR; 617 FRAME_FOREGROUND_PIXEL(f) = FACE_TTY_DEFAULT_FG_COLOR;
621 FRAME_BACKGROUND_PIXEL(f) = FACE_TTY_DEFAULT_BG_COLOR; 618 FRAME_BACKGROUND_PIXEL(f) = FACE_TTY_DEFAULT_BG_COLOR;
622 #endif 619 #endif
623 #endif /* MAC_OS8 */
624 #endif /* MSDOS */ 620 #endif /* MSDOS */
625 621
626 if (!noninteractive) 622 if (!noninteractive)
627 init_frame_faces (f); 623 init_frame_faces (f);
628 624
685 if (sf->output_method != output_msdos_raw 681 if (sf->output_method != output_msdos_raw
686 && sf->output_method != output_termcap) 682 && sf->output_method != output_termcap)
687 abort (); 683 abort ();
688 #else /* not MSDOS */ 684 #else /* not MSDOS */
689 685
690 #if 0 /* #ifdef MAC_OS8 */ 686 #if 0
691 /* This can happen for multi-tty when using both terminal frames and 687 /* This can happen for multi-tty when using both terminal frames and
692 Carbon frames. */ 688 Carbon frames. */
693 if (sf->output_method != output_mac) 689 if (sf->output_method != output_mac)
694 error ("Not running on a Macintosh screen; cannot make a new Macintosh frame"); 690 error ("Not running on a Macintosh screen; cannot make a new Macintosh frame");
695 #else 691 #else
1357 } 1353 }
1358 1354
1359 if (! FRAME_LIVE_P (f)) 1355 if (! FRAME_LIVE_P (f))
1360 return Qnil; 1356 return Qnil;
1361 1357
1362 if (NILP (force) && !other_visible_frames (f) 1358 if (NILP (force) && !other_visible_frames (f))
1363 #ifdef MAC_OS8
1364 /* Terminal frame deleted before any other visible frames are
1365 created. */
1366 && strcmp (SDATA (f->name), "F1") != 0
1367 #endif
1368 )
1369 error ("Attempt to delete the sole visible or iconified frame"); 1359 error ("Attempt to delete the sole visible or iconified frame");
1370 1360
1371 #if 0 1361 #if 0
1372 /* This is a nice idea, but x_connection_closed needs to be able 1362 /* This is a nice idea, but x_connection_closed needs to be able
1373 to delete the last frame, if it is gone. */ 1363 to delete the last frame, if it is gone. */