diff src/w32fns.c @ 55492:43663119f752

(x_create_tip_frame): Bind inhibit-read-only and inhibit-modification-hooks to t temporarily before calling Ferase_buffer.
author Kenichi Handa <handa@m17n.org>
date Mon, 10 May 2004 12:08:32 +0000
parents f13a7f45ce0f
children 9d97dbb17b3f
line wrap: on
line diff
--- a/src/w32fns.c	Mon May 10 12:07:12 2004 +0000
+++ b/src/w32fns.c	Mon May 10 12:08:32 2004 +0000
@@ -7115,6 +7115,8 @@
   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);