diff options
| author | Gerd Moellmann | 2001-09-11 12:32:50 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-11 12:32:50 +0000 |
| commit | 0b04fa5fc9ffe5a8a2ec3545d5991fc9c013f8f7 (patch) | |
| tree | e80d7a2aa8177e6a8ef4afe3ba1a227c1e48c024 /src | |
| parent | b8b319675a9c8a8797f9107335beec59d28756bc (diff) | |
| download | emacs-0b04fa5fc9ffe5a8a2ec3545d5991fc9c013f8f7.tar.gz emacs-0b04fa5fc9ffe5a8a2ec3545d5991fc9c013f8f7.zip | |
(with_echo_area_buffer): Bind inhibit-modification-hooks
to t in addition to read-only.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 85d58dbd7fe..c0659ed26ff 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -6262,6 +6262,7 @@ with_echo_area_buffer (w, which, fn, a1, a2, a3, a4) | |||
| 6262 | current_buffer->undo_list = Qt; | 6262 | current_buffer->undo_list = Qt; |
| 6263 | current_buffer->read_only = Qnil; | 6263 | current_buffer->read_only = Qnil; |
| 6264 | specbind (Qinhibit_read_only, Qt); | 6264 | specbind (Qinhibit_read_only, Qt); |
| 6265 | specbind (Qinhibit_modification_hooks, Qt); | ||
| 6265 | 6266 | ||
| 6266 | if (clear_buffer_p && Z > BEG) | 6267 | if (clear_buffer_p && Z > BEG) |
| 6267 | del_range (BEG, Z); | 6268 | del_range (BEG, Z); |