Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 58501:8f225aca7c72 | 58502:ffc46016071f |
|---|---|
| 6038 buf->undo_list = Qt; | 6038 buf->undo_list = Qt; |
| 6039 eassert (buf->overlays_before == NULL); | 6039 eassert (buf->overlays_before == NULL); |
| 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. */ |
| 6046 Ferase_buffer (); | 6048 Ferase_buffer (); |
| 6047 buf->enable_multibyte_characters = multibyte ? Qt : Qnil; | 6049 buf->enable_multibyte_characters = multibyte ? Qt : Qnil; |
