summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index b57e31b6ed2..fc40f5f68da 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7115,6 +7115,8 @@ x_create_tip_frame (dpyinfo, parms, text)
old_buffer = current_buffer;
set_buffer_internal_1 (XBUFFER (buffer));
current_buffer->truncate_lines = Qnil;
+ specbind (Qinhibit_read_only, Qt);
+ specbind (Qinhibit_modification_hooks, Qt);
Ferase_buffer ();
Finsert (1, &text);
set_buffer_internal_1 (old_buffer);