Fix bug #16070 with crashes when toggling buffer's multibyteness.
src/buffer.c (Fset_buffer_multibyte): Invalidate buffer caches.
This commit is contained in:
parent
ed72f323bf
commit
6d6aa291f2
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-06 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* buffer.c (Fset_buffer_multibyte): Invalidate buffer caches.
|
||||
(Bug#16070)
|
||||
|
||||
2013-12-06 Dmitry Antipov <dmantipov@yandex.ru>
|
||||
|
||||
* xterm.c (input_signal_count): Remove.
|
||||
|
|
|
@ -2482,6 +2482,8 @@ current buffer is cleared. */)
|
|||
if (narrowed)
|
||||
error ("Changing multibyteness in a narrowed buffer");
|
||||
|
||||
invalidate_buffer_caches (current_buffer, BEGV, ZV);
|
||||
|
||||
if (NILP (flag))
|
||||
{
|
||||
ptrdiff_t pos, stop;
|
||||
|
|
Loading…
Add table
Reference in a new issue