changeset 58502:ffc46016071f

(run_pre_post_conversion_on_str): Bind Qinhibit_read_only.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Nov 2004 03:18:31 +0000
parents 8f225aca7c72
children dc83ecc1ac97
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.  */