1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(run_pre_post_conversion_on_str): Bind Qinhibit_read_only.

This commit is contained in:
Richard M. Stallman 2004-11-25 03:18:31 +00:00
parent 79e3497d3f
commit 8e7a47862a

View file

@ -6040,6 +6040,8 @@ run_pre_post_conversion_on_str (str, coding, encodep)
eassert (buf->overlays_after == NULL);
set_buffer_internal (buf);
/* Don't let Ferase_buffer stumble due to text props. */
specbind (Qinhibit_read_only, Qt);
/* We must insert the contents of STR as is without
unibyte<->multibyte conversion. For that, we adjust the
multibyteness of the working buffer to that of STR. */