[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/indent.c
From: |
Ken Raeburn |
Subject: |
[Emacs-diffs] Changes to emacs/src/indent.c |
Date: |
Sun, 14 Jul 2002 20:00:51 -0400 |
Index: emacs/src/indent.c
diff -c emacs/src/indent.c:1.153 emacs/src/indent.c:1.154
*** emacs/src/indent.c:1.153 Thu Jul 11 13:38:49 2002
--- emacs/src/indent.c Sun Jul 14 20:00:36 2002
***************
*** 667,673 ****
int b, e;
if (NILP (end))
! e = XSTRING (string)->size;
else
{
CHECK_NUMBER (end);
--- 667,673 ----
int b, e;
if (NILP (end))
! e = SCHARS (string);
else
{
CHECK_NUMBER (end);
***************
*** 683,692 ****
}
/* Make a pointer for decrementing through the chars before point. */
! ptr = XSTRING (string)->data + e;
/* Make a pointer to where consecutive chars leave off,
going backwards from point. */
! stop = XSTRING (string)->data + b;
if (tab_width <= 0 || tab_width > 1000) tab_width = 8;
--- 683,692 ----
}
/* Make a pointer for decrementing through the chars before point. */
! ptr = SDATA (string) + e;
/* Make a pointer to where consecutive chars leave off,
going backwards from point. */
! stop = SDATA (string) + b;
if (tab_width <= 0 || tab_width > 1000) tab_width = 8;