diff src/w32fns.c @ 109290:1b5ca039f5f2

Fix faulty `if' statement in delete_frame. * frame.c (Qtooltip): New var. (delete_frame): Use it. Fix faulty if statement. Don't update mode line for tooltip frames. Suggested by Martin Rudalics. * xfns.c (x_create_tip_frame): * w32fns.c (x_create_tip_frame): Use it.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 02 Jul 2010 12:35:08 -0400
parents 49f3d201fdd0
children fffdf1688ad0
line wrap: on
line diff
--- a/src/w32fns.c	Wed Jun 30 15:03:07 2010 -0700
+++ b/src/w32fns.c	Fri Jul 02 12:35:08 2010 -0400
@@ -5584,9 +5584,8 @@
   change_frame_size (f, height, width, 1, 0, 0);
 
   /* Add `tooltip' frame parameter's default value. */
-  if (NILP (Fframe_parameter (frame, intern ("tooltip"))))
-    Fmodify_frame_parameters (frame, Fcons (Fcons (intern ("tooltip"), Qt),
-					    Qnil));
+  if (NILP (Fframe_parameter (frame, Qtooltip)))
+    Fmodify_frame_parameters (frame, Fcons (Fcons (Qtooltip, Qt), Qnil));
 
   /* Set up faces after all frame parameters are known.  This call
      also merges in face attributes specified for new frames.