emacs-diffs
[Top][All Lists]
Advanced

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

master 71249b774a: Correct indentation of opening brace in xdisp.c, whic


From: Alan Mackenzie
Subject: master 71249b774a: Correct indentation of opening brace in xdisp.c, which isn't at start of defun
Date: Tue, 17 May 2022 06:31:43 -0400 (EDT)

branch: master
commit 71249b774aa04b8cd46e4201c17470e59cd32dff
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    Correct indentation of opening brace in xdisp.c, which isn't at start of 
defun
    
    * xdisp.c (calc_pixel_width_or_height): indent the opening brace of a
    substatement correctly.  It's previous position, in column 0, caused
    indentation errors in C Mode.
---
 src/xdisp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 5ff54b2884..e3e4ca9bb3 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -28441,7 +28441,7 @@ calc_pixel_width_or_height (double *res, struct it *it, 
Lisp_Object prop,
 
       /* '(NUM)': absolute number of pixels.  */
       if (NUMBERP (car))
-{
+       {
          double fact;
          int offset =
            width_p && align_to && *align_to < 0 ? it->lnum_pixel_width : 0;



reply via email to

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