Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
02ab7130
Commit
02ab7130
authored
Oct 09, 2008
by
Eli Zaretskii
Browse files
(make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed away code.
parent
91d227d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
src/ChangeLog
src/ChangeLog
+5
-0
src/frame.c
src/frame.c
+1
-19
No files found.
src/ChangeLog
View file @
02ab7130
2008-10-09 Eli Zaretskii <eliz@gnu.org>
* frame.c (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed
away code.
2008-10-09 Chong Yidong <cyd@stupidchicken.com>
* dispnew.c (update_text_area): Avoid looping due to large glyph
...
...
src/frame.c
View file @
02ab7130
...
...
@@ -592,25 +592,7 @@ make_terminal_frame (struct terminal *terminal)
if (!inhibit_window_system
&& (!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame))
|| XFRAME (selected_frame)->output_method == output_msdos_raw))
{
f
->
output_method
=
output_msdos_raw
;
#if 0
/* This initialization of foreground and background pixels is
only important for the initial frame created in temacs. If
we don't do that, we get black background and foreground in
the dumped Emacs because the_only_display_info is a static
variable, hence it is born all-zeroes, and zero is the code
for the black color. Other frames all inherit their pixels
from what's already in the_only_display_info. */
if ((!FRAMEP (selected_frame) || !FRAME_LIVE_P (XFRAME (selected_frame)))
&& FRAME_BACKGROUND_PIXEL (f) == 0
&& FRAME_FOREGROUND_PIXEL (f) == 0)
{
FRAME_BACKGROUND_PIXEL (f) = FACE_TTY_DEFAULT_BG_COLOR;
FRAME_FOREGROUND_PIXEL (f) = FACE_TTY_DEFAULT_FG_COLOR;
}
#endif
}
f->output_method = output_msdos_raw;
else
f->output_method = output_termcap;
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment