comparison src/line-number.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents fdefd0186b75
children 804517e16990
comparison
equal deleted inserted replaced
770:336a418893b5 771:943eaba38521
245 for (; i > 0; i--) 245 for (; i > 0; i--)
246 ring[i] = ring[i - 1]; 246 ring[i] = ring[i - 1];
247 247
248 /* ...and update it. */ 248 /* ...and update it. */
249 ring[0] = Fcons (Fset_marker (Fmake_marker (), make_int (pos), 249 ring[0] = Fcons (Fset_marker (Fmake_marker (), make_int (pos),
250 make_buffer (b)), 250 wrap_buffer (b)),
251 make_int (line)); 251 make_int (line));
252 } 252 }
253 253
254 /* Calculate the line number in buffer B at position POS. If CACHEP 254 /* Calculate the line number in buffer B at position POS. If CACHEP
255 is non-zero, initialize and facilitate the line-number cache. The 255 is non-zero, initialize and facilitate the line-number cache. The