emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/process.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/process.c,v
Date: Wed, 27 Feb 2008 15:09:05 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/02/27 15:09:04

Index: process.c
===================================================================
RCS file: /sources/emacs/emacs/src/process.c,v
retrieving revision 1.535
retrieving revision 1.536
diff -u -b -r1.535 -r1.536
--- process.c   9 Feb 2008 18:03:08 -0000       1.535
+++ process.c   27 Feb 2008 15:09:04 -0000      1.536
@@ -4362,13 +4362,15 @@
            {
              int old_timers_run = timers_run;
              struct buffer *old_buffer = current_buffer;
+             Lisp_Object old_window = selected_window;
 
              timer_delay = timer_check (1);
 
              /* If a timer has run, this might have changed buffers
                 an alike.  Make read_key_sequence aware of that.  */
              if (timers_run != old_timers_run
-                 && old_buffer != current_buffer
+                 && (old_buffer != current_buffer
+                     || !EQ (old_window, selected_window))
                  && waiting_for_user_input_p == -1)
                record_asynch_buffer_change ();
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]