diff src/redisplay.c @ 249:83b3d10dcba9 r20-5b23

Import from CVS: tag r20-5b23
author cvs
date Mon, 13 Aug 2007 10:19:09 +0200
parents f220cc83d72e
children 677f6a0ee643
line wrap: on
line diff
--- a/src/redisplay.c	Mon Aug 13 10:18:22 2007 +0200
+++ b/src/redisplay.c	Mon Aug 13 10:19:09 2007 +0200
@@ -5250,6 +5250,13 @@
 
       update_line_start_cache (w, start, end, pointm, 1);
       redisplay_output_window (w);
+      /*
+       * If we just displayed the echo area, the line start cache is
+       * no longer valid, because the minibuffer window is assocaited
+       * with the window now.
+       */
+      if (echo_active)
+	w->line_cache_last_updated = make_int (-1);
     }
 
   /* #### This should be dependent on face changes and will need to be