projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use `=>ucs' instead of `->ucs'.
[chise/xemacs-chise.git-]
/
src
/
line-number.c
diff --git
a/src/line-number.c
b/src/line-number.c
index
05b42ff
..
e9a18dc
100644
(file)
--- a/
src/line-number.c
+++ b/
src/line-number.c
@@
-52,7
+52,6
@@
Boston, MA 02111-1307, USA. */
#include <config.h>
#include "lisp.h"
#include "buffer.h"
#include <config.h>
#include "lisp.h"
#include "buffer.h"
-#include "insdel.h"
#include "line-number.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
/* 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)
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
}
/* 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)
{
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,
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;
{
if (NILP (b->text->line_number_cache))
return;