Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6d4279ab
Commit
6d4279ab
authored
Jun 01, 1998
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fredraw_frame): Don't erase frame or its glyph records
if it hasn't got any.
parent
2576f5d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
src/dispnew.c
src/dispnew.c
+16
-7
No files found.
src/dispnew.c
View file @
6d4279ab
...
...
@@ -178,13 +178,22 @@ DEFUN ("redraw-frame", Fredraw_frame, Sredraw_frame, 1, 1, 0,
CHECK_LIVE_FRAME
(
frame
,
0
);
f
=
XFRAME
(
frame
);
update_begin
(
f
);
if
(
FRAME_MSDOS_P
(
f
))
set_terminal_modes
();
clear_frame
();
clear_frame_records
(
f
);
update_end
(
f
);
fflush
(
stdout
);
/* Erase the frame and its glyph records--if it has any records.
It may have none, in the case of the terminal frame
that initially exists but is never used
when Emacs is using a window system. */
if
(
FRAME_CURRENT_GLYPHS
(
f
)
!=
0
)
{
update_begin
(
f
);
if
(
FRAME_MSDOS_P
(
f
))
set_terminal_modes
();
clear_frame
();
clear_frame_records
(
f
);
update_end
(
f
);
fflush
(
stdout
);
}
windows_or_buffers_changed
++
;
/* Mark all windows as INaccurate,
so that every window will have its redisplay done. */
...
...
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