changeset 5755:5b77773166f7

(find_defun_start): Pass new arg to scan_buffer.
author Richard M. Stallman <rms@gnu.org>
date Thu, 03 Feb 1994 05:05:42 +0000
parents 1864e9a12261
children a54c236b43c6
files src/syntax.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/syntax.c	Thu Feb 03 05:05:12 1994 +0000
+++ b/src/syntax.c	Thu Feb 03 05:05:42 1994 +0000
@@ -84,7 +84,7 @@
     return find_start_value;
 
   /* Back up to start of line.  */
-  tem = scan_buffer ('\n', pos, -1, &shortage);
+  tem = scan_buffer ('\n', pos, -1, &shortage, 1);
 
   while (tem > BEGV)
     {
@@ -92,7 +92,7 @@
       if (SYNTAX (FETCH_CHAR (tem)) == Sopen)
 	break;
       /* Move to beg of previous line.  */
-      tem = scan_buffer ('\n', tem, -2, &shortage);
+      tem = scan_buffer ('\n', tem, -2, &shortage, 1);
     }
 
   /* Record what we found, for the next try.  */