mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-30 17:10:51 -08:00
* src/editfns.c (save_restriction_restore): Don't forget to invalidate the
current_column cache. Fixes: debbugs:7946
This commit is contained in:
parent
2d871302f4
commit
aca092acca
2 changed files with 8 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* ftfont.c (ftfont_open): Use FC_DUAL only when it is defined.
|
||||
|
|
|
|||
|
|
@ -3347,6 +3347,9 @@ save_restriction_restore (data)
|
|||
}
|
||||
}
|
||||
|
||||
/* Changing the buffer bounds invalidates any recorded current column. */
|
||||
invalidate_current_column ();
|
||||
|
||||
if (cur)
|
||||
set_buffer_internal (cur);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue