# HG changeset patch # User Richard M. Stallman # Date 999959412 0 # Node ID 004939041c32875787979b30d7d2c45c8681a59c # Parent e07b62d39bece1a9844fb6f9b5339a88ff2833d7 Comment change. diff -r e07b62d39bec -r 004939041c32 src/syntax.c --- a/src/syntax.c Sat Sep 08 10:32:00 2001 +0000 +++ b/src/syntax.c Sat Sep 08 14:30:12 2001 +0000 @@ -341,9 +341,15 @@ return bytepos; } -/* Find a defun-start that is the last one before POS (or nearly the last). - We record what we find, so that another call in the same area - can return the same value right away. +/* Return a defun-start position before before POS and not too far before. + It should be the last one before POS, or nearly the last. + + When open_paren_in_column_0_is_defun_start is nonzero, + the beginning of every line is treated as a defun-start. + + We record the information about where the scan started + and what its result was, so that another call in the same area + can return the same value very quickly. There is no promise at which position the global syntax data is valid on return from the subroutine, so the caller should explicitly