comparison src/line-number.c @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 8626e4521993
children 2f8bb876ab1d
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
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