Mercurial > emacs
comparison src/frame.c @ 25158:79960f23f1fb
(make_terminal_frame): Don't call init_frame_faces if
noninteractive, for termcap frames as well.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 02 Aug 1999 12:41:09 +0000 |
parents | 1e90b09cc90e |
children | eea9647c8246 |
comparison
equal
deleted
inserted
replaced
25157:1978f057423d | 25158:79960f23f1fb |
---|---|
537 f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */ | 537 f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */ |
538 f->async_visible = 1; /* Don't let visible be cleared later. */ | 538 f->async_visible = 1; /* Don't let visible be cleared later. */ |
539 #ifdef MSDOS | 539 #ifdef MSDOS |
540 f->output_data.x = &the_only_x_display; | 540 f->output_data.x = &the_only_x_display; |
541 f->output_method = output_msdos_raw; | 541 f->output_method = output_msdos_raw; |
542 #else /* not MSDOS */ | |
543 f->output_data.nothing = 1; /* Nonzero means frame isn't deleted. */ | |
544 #endif | |
542 if (!noninteractive) | 545 if (!noninteractive) |
543 init_frame_faces (f); | 546 init_frame_faces (f); |
544 #else /* not MSDOS */ | |
545 f->output_data.nothing = 1; /* Nonzero means frame isn't deleted. */ | |
546 init_frame_faces (f); | |
547 #endif | |
548 return f; | 547 return f; |
549 } | 548 } |
550 | 549 |
551 DEFUN ("make-terminal-frame", Fmake_terminal_frame, Smake_terminal_frame, | 550 DEFUN ("make-terminal-frame", Fmake_terminal_frame, Smake_terminal_frame, |
552 1, 1, 0, "Create an additional terminal frame.\n\ | 551 1, 1, 0, "Create an additional terminal frame.\n\ |