* xdisp.c (SKIP_GLYPHS): Removed unused macro.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 08:17:04 +0000 (00:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 6 Mar 2011 08:17:04 +0000 (00:17 -0800)
src/ChangeLog
src/xdisp.c

index b67dd8b..6321786 100644 (file)
@@ -12,6 +12,7 @@
        (produce_glyphless_glyph): Make a pointer "const"
        since it might point to immutable storage.
        (update_window_cursor):  Now static, since it's not used elsewhere.
+       (SKIP_GLYPHS): Removed unused macro.
 
 2011-03-06  Michael Shields  <shields@msrl.com>  (tiny change)
 
index 3155116..4c1e906 100644 (file)
@@ -12382,18 +12382,6 @@ redisplay_window_1 (Lisp_Object window)
 }
 \f
 
-/* Increment GLYPH until it reaches END or CONDITION fails while
-   adding (GLYPH)->pixel_width to X. */
-
-#define SKIP_GLYPHS(glyph, end, x, condition)  \
-  do                                           \
-    {                                          \
-      (x) += (glyph)->pixel_width;             \
-      ++(glyph);                               \
-    }                                          \
-  while ((glyph) < (end) && (condition))
-
-
 /* Set cursor position of W.  PT is assumed to be displayed in ROW.
    DELTA and DELTA_BYTES are the numbers of characters and bytes by
    which positions recorded in ROW differ from current buffer