aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii1999-08-02 12:41:09 +0000
committerEli Zaretskii1999-08-02 12:41:09 +0000
commit1a6d36231377f0805d276fe08ffbd3f2842ac83f (patch)
treea8728f4bcc9610ed96697ba8ac380ef0844a11a5 /src
parent045942b2e9b65e0a22522c7bf505d27b42a3689f (diff)
downloademacs-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.c5
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