From 2c22f404fb32f071cbef14f73461b79c56f71299 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 11 Oct 1992 20:41:13 +0000 Subject: (find_defun_start): scan_buffer returns start of line; no need to advance over newline. --- src/syntax.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/syntax.c') 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. */ -- cgit v1.2.1