# HG changeset patch # User Richard M. Stallman # Date 1101352711 0 # Node ID ffc46016071fcbc740e77bac70c86718e88c05b8 # Parent 8f225aca7c7272bb3bb1c8a1b78c41346c2860a8 (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. diff -r 8f225aca7c72 -r ffc46016071f src/coding.c --- a/src/coding.c Thu Nov 25 03:16:34 2004 +0000 +++ b/src/coding.c Thu Nov 25 03:18:31 2004 +0000 @@ -6040,6 +6040,8 @@ 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. */