Mercurial > hg > xemacs-beta
diff src/editfns.c @ 211:78478c60bfcd r20-4b4
Import from CVS: tag r20-4b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:05:51 +0200 |
parents | 850242ba4a81 |
children | 262b8bb4a523 |
line wrap: on
line diff
--- a/src/editfns.c Mon Aug 13 10:05:01 2007 +0200 +++ b/src/editfns.c Mon Aug 13 10:05:51 2007 +0200 @@ -36,6 +36,7 @@ #include "frame.h" #include "insdel.h" #include "window.h" +#include "line-number.h" #include "systime.h" #include "sysdep.h" @@ -1740,6 +1741,7 @@ /* Changing the buffer bounds invalidates any recorded current column. */ invalidate_current_column (); + narrow_line_number_cache (b); } } @@ -1786,6 +1788,7 @@ MARK_CLIP_CHANGED; /* Changing the buffer bounds invalidates any recorded current column. */ invalidate_current_column (); + narrow_line_number_cache (buf); zmacs_region_stays = 0; return Qnil; } @@ -1844,6 +1847,7 @@ { local_clip_changed = 1; SET_BOTH_BUF_BEGV (buf, start, bi_start); + narrow_line_number_cache (buf); } if (BUF_ZV (buf) != end) {