emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs/src keyboard.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src keyboard.c
Date: Tue, 02 Dec 2008 16:32:20 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/12/02 16:32:20

Modified files:
        src            : keyboard.c 

Log message:
        (timer_check): Revert last change.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/keyboard.c?cvsroot=emacs&r1=1.979&r2=1.980

Patches:
Index: keyboard.c
===================================================================
RCS file: /sources/emacs/emacs/src/keyboard.c,v
retrieving revision 1.979
retrieving revision 1.980
diff -u -b -r1.979 -r1.980
--- keyboard.c  30 Nov 2008 17:33:36 -0000      1.979
+++ keyboard.c  2 Dec 2008 16:32:20 -0000       1.980
@@ -4584,7 +4584,6 @@
            {
              int count = SPECPDL_INDEX ();
              Lisp_Object old_deactivate_mark = Vdeactivate_mark;
-             struct buffer *b;
 
              /* Mark the timer as triggered to prevent problems if the lisp
                 code fails to reschedule it right.  */
@@ -4597,13 +4596,6 @@
              timers_run++;
              unbind_to (count, Qnil);
 
-             /* We must ensure that the current buffer is the same as
-                the selected window's buffer, because the timers may
-                have made another buffer current (bug#1458).  */
-             b = XBUFFER (XWINDOW (selected_window)->buffer);
-             if (b != current_buffer)
-               set_buffer_internal (b);
-             
              /* Since we have handled the event,
                 we don't need to tell the caller to wake up and do it.  */
            }




reply via email to

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