(Fforward_line): Pass new arg to scan_buffer.
authorRichard M. Stallman <rms@gnu.org>
Thu, 3 Feb 1994 05:05:12 +0000 (05:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 3 Feb 1994 05:05:12 +0000 (05:05 +0000)
src/cmds.c

index f405413..e6ceeee 100644 (file)
@@ -105,7 +105,7 @@ With positive ARG, a non-empty line at the end counts as one line\n\
     }
 
   negp = count <= 0;
-  pos = scan_buffer ('\n', pos2, count - negp, &shortage);
+  pos = scan_buffer ('\n', pos2, count - negp, &shortage, 1);
   if (shortage > 0
       && (negp
          || (ZV > BEGV