emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/indent.c


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/src/indent.c
Date: Fri, 19 Apr 2002 09:43:25 -0400

Index: emacs/src/indent.c
diff -c emacs/src/indent.c:1.148 emacs/src/indent.c:1.149
*** emacs/src/indent.c:1.148    Wed Apr 17 10:19:00 2002
--- emacs/src/indent.c  Fri Apr 19 09:43:25 2002
***************
*** 512,518 ****
    /* Start the scan at the beginning of this line with column number 0.  */
    register int col = 0;
    int scan, scan_byte;
!   int next_boundary, next_boundary_byte;
    int opoint = PT, opoint_byte = PT_BYTE;
  
    scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, 1);
--- 512,518 ----
    /* Start the scan at the beginning of this line with column number 0.  */
    register int col = 0;
    int scan, scan_byte;
!   int next_boundary;
    int opoint = PT, opoint_byte = PT_BYTE;
  
    scan_newline (PT, PT_BYTE, BEGV, BEGV_BYTE, -1, 1);
***************
*** 520,526 ****
    scan = PT, scan_byte = PT_BYTE;
    SET_PT_BOTH (opoint, opoint_byte);
    next_boundary = scan;
-   next_boundary_byte = scan_byte;
  
    if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
  
--- 520,525 ----
***************
*** 540,546 ****
            goto endloop;
          if (scan != old_scan)
            scan_byte = CHAR_TO_BYTE (scan);
-         next_boundary_byte = CHAR_TO_BYTE (next_boundary);
        }
  
        /* Check composition sequence.  */
--- 539,544 ----
***************
*** 936,944 ****
    Lisp_Object val;
    int prev_col = 0;
    int c = 0;
!   int next_boundary;
! 
!   int pos_byte, next_boundary_byte;
  
    if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
    CHECK_NATNUM (column);
--- 934,940 ----
    Lisp_Object val;
    int prev_col = 0;
    int c = 0;
!   int next_boundary, pos_byte;
  
    if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
    CHECK_NATNUM (column);
***************
*** 948,954 ****
    pos_byte = PT_BYTE;
    end = ZV;
    next_boundary = pos;
-   next_boundary_byte = PT_BYTE;
  
    /* If we're starting past the desired column,
       back up to beginning of line and scan from there.  */
--- 944,949 ----
***************
*** 968,974 ****
          pos = skip_invisible (pos, &next_boundary, end, Qnil);
          if (pos != prev)
            pos_byte = CHAR_TO_BYTE (pos);
-         next_boundary_byte = CHAR_TO_BYTE (next_boundary);
          if (pos >= end)
            goto endloop;
        }
--- 963,968 ----



reply via email to

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