From 8e7a47862a147c640a7ec1237c39d7ad6f78f5c9 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 25 Nov 2004 03:18:31 +0000 Subject: [PATCH] (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. --- src/coding.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ -- 2.39.5