Mercurial > emacs
diff src/syntax.c @ 1394:3f3934ca2df6
(find_defun_start): scan_buffer returns start of line;
no need to advance over newline.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Sun, 11 Oct 1992 20:41:13 +0000 |
| parents | d9a103f4843e |
| children | 656f4297962e |
line wrap: on
line diff
--- 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. */
