Mercurial > hg > xemacs-beta
comparison src/line-number.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | b8cc9ab3f761 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
156 after POS without prior search. | 156 after POS without prior search. |
157 | 157 |
158 This will do nothing if the cache is uninitialized. */ | 158 This will do nothing if the cache is uninitialized. */ |
159 void | 159 void |
160 insert_invalidate_line_number_cache (struct buffer *b, Bufpos pos, | 160 insert_invalidate_line_number_cache (struct buffer *b, Bufpos pos, |
161 const Bufbyte *nonreloc, Bytecount length) | 161 CONST Bufbyte *nonreloc, Bytecount length) |
162 { | 162 { |
163 if (NILP (b->text->line_number_cache)) | 163 if (NILP (b->text->line_number_cache)) |
164 return; | 164 return; |
165 | 165 |
166 if (length > LINE_NUMBER_LARGE_STRING | 166 if (length > LINE_NUMBER_LARGE_STRING |