[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/process.c,v [EMACS_22_BASE]
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/src/process.c,v [EMACS_22_BASE] |
Date: |
Thu, 10 Jan 2008 04:07:46 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Glenn Morris <gm> 08/01/10 04:07:46
Index: process.c
===================================================================
RCS file: /sources/emacs/emacs/src/process.c,v
retrieving revision 1.512.2.10
retrieving revision 1.512.2.11
diff -u -b -r1.512.2.10 -r1.512.2.11
--- process.c 8 Jan 2008 04:29:54 -0000 1.512.2.10
+++ process.c 10 Jan 2008 04:07:46 -0000 1.512.2.11
@@ -4697,6 +4697,7 @@
{
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 @@
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)