mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
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
@ -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…
Reference in New Issue
Block a user