diff options
| author | Eli Zaretskii | 1999-08-02 12:41:09 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-08-02 12:41:09 +0000 |
| commit | 1a6d36231377f0805d276fe08ffbd3f2842ac83f (patch) | |
| tree | a8728f4bcc9610ed96697ba8ac380ef0844a11a5 /src | |
| parent | 045942b2e9b65e0a22522c7bf505d27b42a3689f (diff) | |
| download | emacs-1a6d36231377f0805d276fe08ffbd3f2842ac83f.tar.gz emacs-1a6d36231377f0805d276fe08ffbd3f2842ac83f.zip | |
(make_terminal_frame): Don't call init_frame_faces if
noninteractive, for termcap frames as well.
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index 831721201cc..6c8f234a685 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -539,12 +539,11 @@ make_terminal_frame () | |||
| 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 | if (!noninteractive) | ||
| 543 | init_frame_faces (f); | ||
| 544 | #else /* not MSDOS */ | 542 | #else /* not MSDOS */ |
| 545 | f->output_data.nothing = 1; /* Nonzero means frame isn't deleted. */ | 543 | f->output_data.nothing = 1; /* Nonzero means frame isn't deleted. */ |
| 546 | init_frame_faces (f); | ||
| 547 | #endif | 544 | #endif |
| 545 | if (!noninteractive) | ||
| 546 | init_frame_faces (f); | ||
| 548 | return f; | 547 | return f; |
| 549 | } | 548 | } |
| 550 | 549 | ||