Mercurial > emacs
diff src/syntax.c @ 39195:004939041c32
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 08 Sep 2001 14:30:12 +0000 |
parents | 46bbf160c47f |
children | 42b7a798ff79 |
line wrap: on
line diff
--- 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