Commit aca092ac authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* src/editfns.c (save_restriction_restore): Don't forget to invalidate the

current_column cache.

Fixes: debbugs:7946
parent 2d871302
2011-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
* editfns.c (save_restriction_restore): Don't forget to invalidate the
current_column cache (bug#7946).
2011-02-02 Kenichi Handa <handa@m17n.org> 2011-02-02 Kenichi Handa <handa@m17n.org>
   
* ftfont.c (ftfont_open): Use FC_DUAL only when it is defined. * ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.
......
...@@ -3347,6 +3347,9 @@ save_restriction_restore (data) ...@@ -3347,6 +3347,9 @@ save_restriction_restore (data)
} }
} }
/* Changing the buffer bounds invalidates any recorded current column. */
invalidate_current_column ();
if (cur) if (cur)
set_buffer_internal (cur); set_buffer_internal (cur);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment