diff options
| author | Kim F. Storm | 2005-09-07 21:59:36 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-09-07 21:59:36 +0000 |
| commit | d9eef135dcaf3ac8386cb9c1972960b4f1388e81 (patch) | |
| tree | 37d896981da8a25e897eb2a25cfa29d91d604ec8 /src | |
| parent | 6e5395f285895b2e5d55a18967e6851e0a783e78 (diff) | |
| download | emacs-d9eef135dcaf3ac8386cb9c1972960b4f1388e81.tar.gz emacs-d9eef135dcaf3ac8386cb9c1972960b4f1388e81.zip | |
* xdisp.c (handle_display_prop): Respect overlay window property.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) | |||
| 3428 | } | 3428 | } |
| 3429 | else | 3429 | else |
| 3430 | { | 3430 | { |
| 3431 | object = it->w->buffer; | 3431 | XSETWINDOW (object, it->w); |
| 3432 | position = &it->current.pos; | 3432 | position = &it->current.pos; |
| 3433 | } | 3433 | } |
| 3434 | 3434 | ||
| @@ -3449,6 +3449,9 @@ handle_display_prop (it) | |||
| 3449 | if (NILP (prop)) | 3449 | if (NILP (prop)) |
| 3450 | return HANDLED_NORMALLY; | 3450 | return HANDLED_NORMALLY; |
| 3451 | 3451 | ||
| 3452 | if (!STRINGP (it->string)) | ||
| 3453 | object = it->w->buffer; | ||
| 3454 | |||
| 3452 | if (CONSP (prop) | 3455 | if (CONSP (prop) |
| 3453 | /* Simple properties. */ | 3456 | /* Simple properties. */ |
| 3454 | && !EQ (XCAR (prop), Qimage) | 3457 | && !EQ (XCAR (prop), Qimage) |