emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 66c44c3cd7b: ; Fix coding style of last change to xdisp.c


From: Po Lu
Subject: master 66c44c3cd7b: ; Fix coding style of last change to xdisp.c
Date: Sat, 13 Apr 2024 08:20:16 -0400 (EDT)

branch: master
commit 66c44c3cd7b37712d5a923966f71a06bbf1fcdb8
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    ; Fix coding style of last change to xdisp.c
    
    * src/xdisp.c (note_fringe_highlight): Stylistic edits.
---
 src/xdisp.c | 13 +++++++------
 1 file 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,
 
   /* 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))
        {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]