From 221dd3e77adae3ead2c59afa59d43c283a1c104a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 8 Mar 2001 21:17:30 +0000 Subject: [PATCH] (handle_display_prop): Use it->w->buffer as object, instead of nil. --- src/ChangeLog | 3 +++ src/xdisp.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 357b78cb8f1..34018585de6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2001-03-08 Gerd Moellmann + * xdisp.c (handle_display_prop): Use it->w->buffer as object, + instead of nil. + * xterm.c (note_mouse_highlight): Handle mouse-face and help-echo in strings. (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. diff --git a/src/xdisp.c b/src/xdisp.c index 3db708e15c9..23fc0a4b089 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2570,7 +2570,7 @@ handle_display_prop (it) } else { - object = Qnil; + object = it->w->buffer; position = &it->current.pos; } -- 2.39.5