diff options
| author | Gerd Moellmann | 2001-09-11 13:09:15 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-11 13:09:15 +0000 |
| commit | a41edd99c5ebdac6e6e05adecf108eaae160c0a6 (patch) | |
| tree | 5595d8804278386ac8ee039cbd010cdfd873809c /src/minibuf.c | |
| parent | 0ba7995bfe5e4a109824ae17a9720adc4ad988c4 (diff) | |
| download | emacs-a41edd99c5ebdac6e6e05adecf108eaae160c0a6.tar.gz emacs-a41edd99c5ebdac6e6e05adecf108eaae160c0a6.zip | |
(read_minibuf): Bind inhibit-modification-hooks to t,
in addition to read-only.
Diffstat (limited to 'src/minibuf.c')
| -rw-r--r-- | src/minibuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index a87127002bb..78c7c375f7d 100644 --- a/src/minibuf.c +++ b/src/minibuf.c | |||
| @@ -511,8 +511,9 @@ read_minibuf (map, initial, prompt, backup_n, expflag, | |||
| 511 | 511 | ||
| 512 | /* Erase the buffer. */ | 512 | /* Erase the buffer. */ |
| 513 | { | 513 | { |
| 514 | int count1 = specpdl_ptr - specpdl; | 514 | int count1 = BINDING_STACK_SIZE (); |
| 515 | specbind (Qinhibit_read_only, Qt); | 515 | specbind (Qinhibit_read_only, Qt); |
| 516 | specbind (Qinhibit_modification_hooks, Qt); | ||
| 516 | Ferase_buffer (); | 517 | Ferase_buffer (); |
| 517 | unbind_to (count1, Qnil); | 518 | unbind_to (count1, Qnil); |
| 518 | } | 519 | } |