]> git.eshelyaron.com Git - emacs.git/commitdiff
In Fset_window_configuration revert first part of last change.
authorMartin Rudalics <rudalics@gmx.at>
Mon, 27 Aug 2012 21:07:32 +0000 (23:07 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 27 Aug 2012 21:07:32 +0000 (23:07 +0200)
* window.c (Fset_window_configuration): Revert first part of
last change.

src/ChangeLog
src/window.c

index 797352255428e50476794a0c7d4f4b3751b9b325..2861a2f0f89dfd9007e911a2f517afadb7a9316f 100644 (file)
@@ -1,3 +1,8 @@
+2012-08-27  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.c (Fset_window_configuration): Revert first part of
+       last change.
+
 2012-08-27  Jan Djärv  <jan.h.d@swipnet.se>
 
        * nsterm.h (NSPanel): New class variable dialog_return.
index b3c5d276f9735de7d09ecba84c72c7dd4f965ea4..330636efed93dd9e5d7477797544fb043d3bdcf6 100644 (file)
@@ -5616,24 +5616,6 @@ the return value is nil.  Otherwise the value is t.  */)
       int previous_frame_menu_bar_lines = FRAME_MENU_BAR_LINES (f);
       int previous_frame_tool_bar_lines = FRAME_TOOL_BAR_LINES (f);
 
-      /* Don't do this within the main loop below: This may call Lisp
-        code and is thus potentially unsafe while input is blocked.  */
-      for (k = 0; k < saved_windows->header.size; k++)
-       {
-         p = SAVED_WINDOW_N (saved_windows, k);
-         window = p->window;
-         w = XWINDOW (window);
-
-         if (!NILP (p->buffer)
-             && ((!EQ (w->buffer, p->buffer)
-                  && !NILP (BVAR (XBUFFER (p->buffer), name)))
-                 || NILP (w->buffer)
-                 || NILP (BVAR (XBUFFER (w->buffer), name))))
-           /* Record old buffer of window when its buffer is going to
-              change.  */
-           call1 (Qrecord_window_buffer, window);
-       }
-
       /* The mouse highlighting code could get screwed up
         if it runs during this.  */
       BLOCK_INPUT;