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
25edb08f
Commit
25edb08f
authored
Mar 08, 2000
by
Gerd Moellmann
Browse files
(display_echo_area): Temporarily inhibit garbage collection.
parent
5e91ff9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/xdisp.c
src/xdisp.c
+10
-2
No files found.
src/ChangeLog
View file @
25edb08f
No preview for this file type
src/xdisp.c
View file @
25edb08f
...
...
@@ -5529,7 +5529,14 @@ static int
display_echo_area (w)
struct window *w;
{
int i, no_message_p, window_height_changed_p;
int i, no_message_p, window_height_changed_p, count;
/* Temporarily disable garbage collections while displaying the echo
area. This is done because a GC can print a message itself.
That message would modify the echo area buffer's contents while a
redisplay of the buffer is going on, and seriously confuse
redisplay. */
count = inhibit_garbage_collection ();
/* If there is no message, we must call display_echo_area_1
nevertheless because it resizes the window. But we will have to
...
...
@@ -5544,7 +5551,8 @@ display_echo_area (w)
if (no_message_p)
echo_area_buffer[i] = Qnil;
unbind_to (count, Qnil);
return window_height_changed_p;
}
...
...
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