changeset 25387:df0083768b79

(Fset_window_point): Reset Vresize_mini_config. (Fset_window_start): Ditto. (set_window_buffer): Ditto.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 24 Aug 1999 19:24:53 +0000
parents f431cf81b4a3
children b38732c75a65
files src/window.c
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Tue Aug 24 19:24:50 1999 +0000
+++ b/src/window.c	Tue Aug 24 19:24:53 1999 +0000
@@ -744,6 +744,14 @@
   else
     set_marker_restricted (w->pointm, pos, w->buffer);
 
+  /* If mini-window is resized, make it not restore its saved window
+     configuration.  This function being called indicates that the
+     current window configuration is being changed.  These changes
+     would be undone if resize_mini_window would restore its saved
+     configuration.  */
+  if (resize_mini_frame == XFRAME (w->frame))
+    Vresize_mini_config = Qnil;
+  
   return pos;
 }
 
@@ -767,6 +775,15 @@
   XSETFASTINT (w->last_overlay_modified, 0);
   if (!EQ (window, selected_window))
     windows_or_buffers_changed++;
+
+  /* If mini-window is resized, make it not restore its saved window
+     configuration.  This function being called indicates that the
+     current window configuration is being changed.  These changes
+     would be undone if resize_mini_window would restore its saved
+     configuration.  */
+  if (resize_mini_frame == XFRAME (w->frame))
+    Vresize_mini_config = Qnil;
+  
   return pos;
 }
 
@@ -2339,6 +2356,14 @@
 
   w->buffer = buffer;
 
+  /* If mini-window is resized, make it not restore its saved window
+     configuration.  This function being called indicates that the
+     current window configuration is being changed.  These changes
+     would be undone if resize_mini_window would restore its saved
+     configuration.  */
+  if (resize_mini_frame == XFRAME (w->frame))
+    Vresize_mini_config = Qnil;
+  
   if (EQ (window, selected_window))
     b->last_selected_window = window;