mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
(ensure_echo_area_buffers): If a buffer was killed and a
new buffer is created, make sure make sure echo_area_buffer[] references the new buffer.
This commit is contained in:
parent
9facfd265c
commit
ff3d95733d
@ -1,3 +1,8 @@
|
||||
2000-08-07 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* files.el (shell-quote-wildcard-pattern): Make sure to return
|
||||
PATTERN, in the Unix case.
|
||||
|
||||
2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* play/zone.el (zone): Discard any pending input before running
|
||||
|
@ -1,3 +1,9 @@
|
||||
2000-08-07 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* xdisp.c (ensure_echo_area_buffers): If a buffer was killed, and
|
||||
a new buffer is created, make sure echo_area_buffer[] references
|
||||
the new buffer.
|
||||
|
||||
2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* msdos.c (Fmsdos_set_mouse_buttons): Add missing backslashes in
|
||||
|
@ -5438,9 +5438,17 @@ ensure_echo_area_buffers ()
|
||||
|| NILP (XBUFFER (echo_buffer[i])->name))
|
||||
{
|
||||
char name[30];
|
||||
Lisp_Object old_buffer;
|
||||
int j;
|
||||
|
||||
old_buffer = echo_buffer[i];
|
||||
sprintf (name, " *Echo Area %d*", i);
|
||||
echo_buffer[i] = Fget_buffer_create (build_string (name));
|
||||
XBUFFER (echo_buffer[i])->truncate_lines = Qnil;
|
||||
|
||||
for (j = 0; j < 2; ++j)
|
||||
if (EQ (old_buffer, echo_area_buffer[j]))
|
||||
echo_area_buffer[j] = echo_buffer[i];
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user