diff options
| author | Richard M. Stallman <rms@gnu.org> | 1992-10-11 20:41:13 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1992-10-11 20:41:13 +0000 |
| commit | f77ffc3d778ad4ab7bb79b22f9eb74b4d0622376 (patch) | |
| tree | 0a49ae4c985b1ac49d1d4d3af995cb97a2f74273 /src/syntax.c | |
| parent | 6fb48933f705a221df01d5fbcc700c18b20210d6 (diff) | |
| download | emacs-f77ffc3d778ad4ab7bb79b22f9eb74b4d0622376.tar.gz | |
(find_defun_start): scan_buffer returns start of line;
no need to advance over newline.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/syntax.c b/src/syntax.c index 6c7819a8cbd..3bb9e2956cc 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -82,9 +82,6 @@ find_defun_start (pos) /* 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 @@ find_defun_start (pos) 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. */ |
