new buffer is created, make sure make sure echo_area_buffer[]
references the new buffer.
+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
+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
|| 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];
}
}