From acbfe54c07f24929f584ba9e29baf4401ee4bfd9 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 6 Mar 2011 00:17:04 -0800 Subject: [PATCH] * xdisp.c (SKIP_GLYPHS): Removed unused macro. --- src/ChangeLog | 1 + src/xdisp.c | 12 ------------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index b67dd8bf797..6321786bee4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 (tiny change) diff --git a/src/xdisp.c b/src/xdisp.c index 3155116c48d..4c1e906c04c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12382,18 +12382,6 @@ redisplay_window_1 (Lisp_Object window) } -/* 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 -- 2.39.5