Commit 63dbe8da authored by Glenn Morris's avatar Glenn Morris
Browse files

Chong Yidong <cyd at stupidchicken.com>

(wait_reading_process_output): Check for window changes caused by timers.
parent 511e3559
......@@ -50,13 +50,6 @@ http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-09/msg00055.html
* BUGS
** schierlm@gmx.de, 25 Dec: Crash when buffer is edited while save-buffer asks for coding system
http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00134.html
** bojohan+news@dd.chalmers.se, 19 Nov: appointment display during isearch replaces buffer contents with history element.
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-01/msg00005.html
(patch)
** eric@openbsd.org, 24 Nov: c-mode syntactic analysis regression in emacs-22.1
http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg00589.html
......@@ -65,7 +58,7 @@ http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg00460.html
reproducible?
** nico@ngolde.de, 7 Jan: some code issues
some unsafe code in pop.c
some unsafe code in pop.c, etags.c
http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg00654.html
* DOCUMENTATION
......
2008-01-10 Chong Yidong <cyd@stupidchicken.com>
* process.c (wait_reading_process_output): Check for window
changes caused by timers.
2008-01-08 Glenn Morris <rgm@gnu.org>
 
* emacs.c (main): Set copyright year to 2008.
......
......@@ -4697,6 +4697,7 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, do_display,
{
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))
......@@ -4710,7 +4711,8 @@ wait_reading_process_output (time_limit, microsecs, read_kbd, 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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment