]> git.eshelyaron.com Git - emacs.git/commitdiff
(find_defun_start): Pass new arg to scan_buffer.
authorRichard M. Stallman <rms@gnu.org>
Thu, 3 Feb 1994 05:05:42 +0000 (05:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 3 Feb 1994 05:05:42 +0000 (05:05 +0000)
src/syntax.c

index cae5eb49893dbbae4df860543d1e3014f37f5725..e4912bab65da8eb92496727486a636d8cbb73602 100644 (file)
@@ -84,7 +84,7 @@ find_defun_start (pos)
     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 @@ find_defun_start (pos)
       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.  */