diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-07-02 12:35:08 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-07-02 12:35:08 -0400 |
commit | 54ee7410c5a6301f37cb107317a5533c0bcc3cf9 (patch) | |
tree | 72d4012617229fe56396885d25fe6f3944864fe7 /src/w32fns.c | |
parent | d0cb23caf4c6a1fffaceddecc3eadb80c8948176 (diff) | |
download | emacs-54ee7410c5a6301f37cb107317a5533c0bcc3cf9.tar.gz emacs-54ee7410c5a6301f37cb107317a5533c0bcc3cf9.tar.bz2 emacs-54ee7410c5a6301f37cb107317a5533c0bcc3cf9.zip |
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.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r-- | src/w32fns.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index bc310da0d2f..fe03537c49b 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -5584,9 +5584,8 @@ x_create_tip_frame (dpyinfo, parms, text) 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. |