* src/*.c: Set deactivate_mark buffer-locally
Fixes: debbugs:20260 * src/insdel.c (prepare_to_modify_buffer_1): * src/fileio.c (Finsert_file_contents): Set deactivate_mark buffer-locally.
This commit is contained in:
parent
659609d182
commit
c9d78e18c6
2 changed files with 2 additions and 2 deletions
|
|
@ -4165,7 +4165,7 @@ by calling `format-decode', which see. */)
|
|||
Vdeactivate_mark = old_Vdeactivate_mark;
|
||||
}
|
||||
else
|
||||
Vdeactivate_mark = Qt;
|
||||
Fset (Qdeactivate_mark, Qt);
|
||||
|
||||
emacs_close (fd);
|
||||
clear_unwind_protect (fd_index);
|
||||
|
|
|
|||
|
|
@ -1846,7 +1846,7 @@ prepare_to_modify_buffer_1 (ptrdiff_t start, ptrdiff_t end,
|
|||
= call1 (Fsymbol_value (Qregion_extract_function), Qnil);
|
||||
|
||||
signal_before_change (start, end, preserve_ptr);
|
||||
Vdeactivate_mark = Qt;
|
||||
Fset (Qdeactivate_mark, Qt);
|
||||
}
|
||||
|
||||
/* Like above, but called when we know that the buffer text
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue