mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
(run_pre_post_conversion_on_str): Bind Qinhibit_read_only.
This commit is contained in:
parent
79e3497d3f
commit
8e7a47862a
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue