]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_create_tip_frame): Bind inhibit-read-only and
authorKenichi Handa <handa@m17n.org>
Mon, 10 May 2004 12:08:32 +0000 (12:08 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 10 May 2004 12:08:32 +0000 (12:08 +0000)
inhibit-modification-hooks to t temporarily before calling
Ferase_buffer.

src/w32fns.c
src/xfns.c

index b57e31b6ed281a7c8a1644dea0b42ec8f5d81f98..fc40f5f68da04c9957a8f482bdae47de7191c7d6 100644 (file)
@@ -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);
index c422e3ad9942511fb952afe501482dff9ea52d7d..6d7f5b92f0beceda65982ac6d9f46985a79d1681 100644 (file)
@@ -4441,6 +4441,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);