aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/marker.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/marker.c b/src/marker.c
index 7d601eea70f..e68245db9ec 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -31,6 +31,13 @@ static int cached_charpos;
31static int cached_bytepos; 31static int cached_bytepos;
32static struct buffer *cached_buffer; 32static struct buffer *cached_buffer;
33static int cached_modiff; 33static int cached_modiff;
34
35clear_charpos_cache (b)
36 struct buffer *b;
37{
38 if (cached_buffer == b)
39 cached_buffer = 0;
40}
34 41
35/* Converting between character positions and byte positions. */ 42/* Converting between character positions and byte positions. */
36 43