Mercurial > emacs
changeset 39195:004939041c32
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 08 Sep 2001 14:30:12 +0000 |
parents | e07b62d39bec |
children | 4e9db7a710f8 |
files | src/syntax.c |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
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