; Fix coding style of last change to xdisp.c
* src/xdisp.c (note_fringe_highlight): Stylistic edits.
This commit is contained in:
parent
24957ea566
commit
66c44c3cd7
1 changed files with 7 additions and 6 deletions
13
src/xdisp.c
13
src/xdisp.c
|
@ -35759,21 +35759,22 @@ note_fringe_highlight (Lisp_Object window, int x, int y,
|
|||
|
||||
/* Get to the first glyph of a text row based on the vertical position
|
||||
of the fringe. */
|
||||
struct glyph *glyph = MATRIX_ROW_GLYPH_START(w->current_matrix, vpos);
|
||||
int glyph_num = MATRIX_ROW_USED(w->current_matrix, vpos);
|
||||
struct glyph *glyph = MATRIX_ROW_GLYPH_START (w->current_matrix, vpos);
|
||||
int glyph_num = MATRIX_ROW_USED (w->current_matrix, vpos);
|
||||
|
||||
/* Check all glyphs while looking for fringe tooltips. */
|
||||
|
||||
/* NOTE: iterating over glyphs can only find text properties coming
|
||||
from visible text. This means that zero-length overlays and
|
||||
invisibile text are NOT inspected. */
|
||||
for (;glyph_num; glyph_num--, glyph++)
|
||||
for (; glyph_num; glyph_num--, glyph++)
|
||||
{
|
||||
Lisp_Object pos = make_fixnum(glyph->charpos);
|
||||
Lisp_Object pos = make_fixnum (glyph->charpos);
|
||||
Lisp_Object help_echo = Qnil;
|
||||
|
||||
if (STRINGP(glyph->object) || BUFFERP(glyph->object))
|
||||
help_echo = get_char_property_and_overlay (pos, sym, glyph->object, NULL);
|
||||
if (STRINGP (glyph->object) || BUFFERP (glyph->object))
|
||||
help_echo = get_char_property_and_overlay (pos, sym,
|
||||
glyph->object, NULL);
|
||||
|
||||
if (STRINGP (help_echo))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue