diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-11-25 03:18:31 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-11-25 03:18:31 +0000 |
commit | 8e7a47862a147c640a7ec1237c39d7ad6f78f5c9 (patch) | |
tree | 5501eb23c231fbcee2fa32994200581908035720 /src/coding.c | |
parent | 79e3497d3fb13b32cc2dc39ed16787af7ec21b1c (diff) | |
download | emacs-8e7a47862a147c640a7ec1237c39d7ad6f78f5c9.tar.gz |
(run_pre_post_conversion_on_str): Bind Qinhibit_read_only.
Diffstat (limited to 'src/coding.c')
-rw-r--r-- | src/coding.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |