diff src/coding.c @ 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 9093a2e9c3fd
children ff8a37b5299b
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.  */