# HG changeset patch # User Richard M. Stallman # Date 718836073 0 # Node ID 3f3934ca2df65803e7c14f43ce6f969aff3b4d0e # Parent d2ae5897e43c74a1d91cefdd68d24a751bc084fe (find_defun_start): scan_buffer returns start of line; no need to advance over newline. diff -r d2ae5897e43c -r 3f3934ca2df6 src/syntax.c --- a/src/syntax.c Sun Oct 11 20:40:05 1992 +0000 +++ b/src/syntax.c Sun Oct 11 20:41:13 1992 +0000 @@ -82,9 +82,6 @@ /* Back up to start of line. */ tem = scan_buffer ('\n', pos, -1, &shortage); - /* If we found a newline, we moved back over it, so advance fwd past it. */ - if (shortage == 0) - tem++; while (tem > BEGV) { @@ -93,8 +90,6 @@ break; /* Move to beg of previous line. */ tem = scan_buffer ('\n', tem, -2, &shortage); - if (shortage == 0) - tem++; } /* Record what we found, for the next try. */