mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 15:52:00 -08:00
(with_echo_area_buffer): Bind inhibit-modification-hooks
to t in addition to read-only.
This commit is contained in:
parent
b8b319675a
commit
0b04fa5fc9
1 changed files with 1 additions and 0 deletions
|
|
@ -6262,6 +6262,7 @@ with_echo_area_buffer (w, which, fn, a1, a2, a3, a4)
|
|||
current_buffer->undo_list = Qt;
|
||||
current_buffer->read_only = Qnil;
|
||||
specbind (Qinhibit_read_only, Qt);
|
||||
specbind (Qinhibit_modification_hooks, Qt);
|
||||
|
||||
if (clear_buffer_p && Z > BEG)
|
||||
del_range (BEG, Z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue