From: Richard M. Stallman Date: Thu, 25 Nov 2004 03:18:31 +0000 (+0000) Subject: (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. X-Git-Tag: ttn-vms-21-2-B4~3676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e7a47862a147c640a7ec1237c39d7ad6f78f5c9;p=emacs.git (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. --- diff --git a/src/coding.c b/src/coding.c index 0c99054d47b..b521d100989 100644 --- a/src/coding.c +++ b/src/coding.c @@ -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. */