diff options
| author | Richard M. Stallman | 2004-11-25 03:18:31 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-11-25 03:18:31 +0000 |
| commit | 8e7a47862a147c640a7ec1237c39d7ad6f78f5c9 (patch) | |
| tree | 5501eb23c231fbcee2fa32994200581908035720 /src/coding.c | |
| parent | 79e3497d3fb13b32cc2dc39ed16787af7ec21b1c (diff) | |
| download | emacs-8e7a47862a147c640a7ec1237c39d7ad6f78f5c9.tar.gz emacs-8e7a47862a147c640a7ec1237c39d7ad6f78f5c9.zip | |
(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) | |||
| 6040 | eassert (buf->overlays_after == NULL); | 6040 | eassert (buf->overlays_after == NULL); |
| 6041 | 6041 | ||
| 6042 | set_buffer_internal (buf); | 6042 | set_buffer_internal (buf); |
| 6043 | /* Don't let Ferase_buffer stumble due to text props. */ | ||
| 6044 | specbind (Qinhibit_read_only, Qt); | ||
| 6043 | /* We must insert the contents of STR as is without | 6045 | /* We must insert the contents of STR as is without |
| 6044 | unibyte<->multibyte conversion. For that, we adjust the | 6046 | unibyte<->multibyte conversion. For that, we adjust the |
| 6045 | multibyteness of the working buffer to that of STR. */ | 6047 | multibyteness of the working buffer to that of STR. */ |