Commit 6d6aa291 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #16070 with crashes when toggling buffer's multibyteness.

 src/buffer.c (Fset_buffer_multibyte): Invalidate buffer caches.
parent ed72f323
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;
......
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