diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 2bc943c88cd..452adee1d31 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -35759,21 +35759,22 @@ note_fringe_highlight (Lisp_Object window, int x, int y, | |||
| 35759 | 35759 | ||
| 35760 | /* Get to the first glyph of a text row based on the vertical position | 35760 | /* Get to the first glyph of a text row based on the vertical position |
| 35761 | of the fringe. */ | 35761 | of the fringe. */ |
| 35762 | struct glyph *glyph = MATRIX_ROW_GLYPH_START(w->current_matrix, vpos); | 35762 | struct glyph *glyph = MATRIX_ROW_GLYPH_START (w->current_matrix, vpos); |
| 35763 | int glyph_num = MATRIX_ROW_USED(w->current_matrix, vpos); | 35763 | int glyph_num = MATRIX_ROW_USED (w->current_matrix, vpos); |
| 35764 | 35764 | ||
| 35765 | /* Check all glyphs while looking for fringe tooltips. */ | 35765 | /* Check all glyphs while looking for fringe tooltips. */ |
| 35766 | 35766 | ||
| 35767 | /* NOTE: iterating over glyphs can only find text properties coming | 35767 | /* NOTE: iterating over glyphs can only find text properties coming |
| 35768 | from visible text. This means that zero-length overlays and | 35768 | from visible text. This means that zero-length overlays and |
| 35769 | invisibile text are NOT inspected. */ | 35769 | invisibile text are NOT inspected. */ |
| 35770 | for (;glyph_num; glyph_num--, glyph++) | 35770 | for (; glyph_num; glyph_num--, glyph++) |
| 35771 | { | 35771 | { |
| 35772 | Lisp_Object pos = make_fixnum(glyph->charpos); | 35772 | Lisp_Object pos = make_fixnum (glyph->charpos); |
| 35773 | Lisp_Object help_echo = Qnil; | 35773 | Lisp_Object help_echo = Qnil; |
| 35774 | 35774 | ||
| 35775 | if (STRINGP(glyph->object) || BUFFERP(glyph->object)) | 35775 | if (STRINGP (glyph->object) || BUFFERP (glyph->object)) |
| 35776 | help_echo = get_char_property_and_overlay (pos, sym, glyph->object, NULL); | 35776 | help_echo = get_char_property_and_overlay (pos, sym, |
| 35777 | glyph->object, NULL); | ||
| 35777 | 35778 | ||
| 35778 | if (STRINGP (help_echo)) | 35779 | if (STRINGP (help_echo)) |
| 35779 | { | 35780 | { |