diff src/xfns.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 4ab3a5beaea6
children 4e3b166f7f72 d895a49cccb9
line wrap: on
line diff
--- a/src/xfns.c	Mon May 10 12:07:12 2004 +0000
+++ b/src/xfns.c	Mon May 10 12:08:32 2004 +0000
@@ -4441,6 +4441,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);