+2008-01-10 Chong Yidong <cyd@stupidchicken.com>
+
+ * process.c (wait_reading_process_output): Check for window
+ changes caused by timers.
+
2008-01-09 Kenichi Handa <handa@ni.aist.go.jp>
* coding.c (detect_coding_iso2022): New arg
{
int old_timers_run = timers_run;
struct buffer *old_buffer = current_buffer;
+ Lisp_Object old_window = selected_window;
int leave = 0;
if (detect_input_pending_run_timers (do_display))
an alike. Make read_key_sequence aware of that. */
if (timers_run != old_timers_run
&& waiting_for_user_input_p == -1
- && old_buffer != current_buffer)
+ && (old_buffer != current_buffer
+ || !EQ (old_window, selected_window)))
record_asynch_buffer_change ();
if (leave)