diff src/extents.c @ 183:e121b013d1f0 r20-3b18

Import from CVS: tag r20-3b18
author cvs
date Mon, 13 Aug 2007 09:54:23 +0200
parents 6075d714658b
children 3d6bfa290dbd
line wrap: on
line diff
--- a/src/extents.c	Mon Aug 13 09:53:23 2007 +0200
+++ b/src/extents.c	Mon Aug 13 09:54:23 2007 +0200
@@ -1636,7 +1636,7 @@
   }
 }
 
-/* A change to an extent occurred that will might affect redisplay.
+/* A change to an extent occurred that might affect redisplay.
    This is called when properties such as the endpoints, the layout,
    or the priority changes.  Redisplay will be affected only if
    the extent has any displayable attributes. */
@@ -1647,9 +1647,12 @@
 {
   /* Retrieve the ancestor for efficiency */
   EXTENT anc = extent_ancestor (extent);
-  if (!NILP (extent_face (anc)) || !NILP (extent_begin_glyph (anc)) ||
-      !NILP (extent_end_glyph (anc)) || !NILP (extent_mouse_face (anc)) ||
-      !NILP (extent_invisible (anc)) || invisibility_change)
+  if (!NILP (extent_face        (anc)) ||
+      !NILP (extent_begin_glyph (anc)) ||
+      !NILP (extent_end_glyph   (anc)) ||
+      !NILP (extent_mouse_face  (anc)) ||
+      !NILP (extent_invisible   (anc)) ||
+      invisibility_change)
     extent_changed_for_redisplay (extent, descendants_too,
 				  invisibility_change);
 }
@@ -1664,7 +1667,7 @@
   extent_object (extent) = object;
   /* Now make sure the extent info exists. */
   if (!NILP (object))
-    (void) buffer_or_string_extent_info_force (object);
+    buffer_or_string_extent_info_force (object);
   return extent;
 }