]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix coding style of last change to xdisp.c
authorPo Lu <luangruo@yahoo.com>
Sat, 13 Apr 2024 12:07:17 +0000 (20:07 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Apr 2024 17:10:38 +0000 (19:10 +0200)
* src/xdisp.c (note_fringe_highlight): Stylistic edits.

(cherry picked from commit 66c44c3cd7b37712d5a923966f71a06bbf1fcdb8)

src/xdisp.c

index 2bc943c88cdb943b96eccdf9a5716bbfd92cc5ac..452adee1d317f81402ef07b376d29d4e7eb5468d 100644 (file)
@@ -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))
        {