X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fline-number.c;h=e9a18dcadf1d712967f18c1797c39c058ab95182;hb=a699139716d7a947173ebc9a7130cc0eead5da7f;hp=05b42ff83a44d6c717260394926a55f3991f9dcb;hpb=669565bfdc5d704dfb1d5ac1a0ec01fb3615a1ae;p=chise%2Fxemacs-chise.git- diff --git a/src/line-number.c b/src/line-number.c index 05b42ff..e9a18dc 100644 --- a/src/line-number.c +++ b/src/line-number.c @@ -52,7 +52,6 @@ Boston, MA 02111-1307, USA. */ #include #include "lisp.h" #include "buffer.h" -#include "insdel.h" #include "line-number.h" @@ -81,7 +80,7 @@ Boston, MA 02111-1307, USA. */ /* Initialize the cache. Cache is (in pseudo-BNF): CACHE = nil | INITIALIZED-CACHE - INITITIALIZED-CACHE = cons (RING, BEGV-LINE) + INITIALIZED-CACHE = cons (RING, BEGV-LINE) RING = vector (*RING-ELEMENT) RING-ELEMENT = nil | RING-PAIR RING-PAIR = cons (marker, integer) @@ -99,7 +98,7 @@ allocate_line_number_cache (struct buffer *b) } /* Flag LINE_NUMBER_BEGV (b) as dirty. Do it only if the line number - cache is already initialized. */ + cache is already initialized. */ void narrow_line_number_cache (struct buffer *b) { @@ -159,7 +158,7 @@ invalidate_line_number_cache (struct buffer *b, Bufpos pos) This will do nothing if the cache is uninitialized. */ void insert_invalidate_line_number_cache (struct buffer *b, Bufpos pos, - CONST Bufbyte *nonreloc, Bytecount length) + const Bufbyte *nonreloc, Bytecount length) { if (NILP (b->text->line_number_cache)) return;