From d9eef135dcaf3ac8386cb9c1972960b4f1388e81 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 7 Sep 2005 21:59:36 +0000 Subject: [PATCH] * xdisp.c (handle_display_prop): Respect overlay window property. --- src/xdisp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index ab3aae5fb91..33317f4c491 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3428,7 +3428,7 @@ handle_display_prop (it) } else { - object = it->w->buffer; + XSETWINDOW (object, it->w); position = &it->current.pos; } @@ -3449,6 +3449,9 @@ handle_display_prop (it) if (NILP (prop)) return HANDLED_NORMALLY; + if (!STRINGP (it->string)) + object = it->w->buffer; + if (CONSP (prop) /* Simple properties. */ && !EQ (XCAR (prop), Qimage) -- 2.39.5