summaryrefslogtreecommitdiff
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-30 17:38:34 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-30 17:38:34 +0200
commit655d2319bc50ee09d4acaf9ce90809f9476d8674 (patch)
tree3a4dd2fa72435c0167ee8518a220335b56fd3e62 /src/w32fns.c
parent86b6a69f8614663172c64a3f51ffce39526e7ca9 (diff)
downloademacs-655d2319bc50ee09d4acaf9ce90809f9476d8674.tar.gz
Use x-show-tooltip-timeout in all the implementations
* src/haikufns.c (Fx_show_tip): Use the timeout variable. * src/pgtkfns.c (Fx_show_tip): Ditto. * src/w32fns.c (Fx_show_tip): Ditto. * src/xfns.c (Fx_show_tip): Doc fix.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index ead1549d557..0f25c1a594a 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -7366,9 +7366,8 @@ DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0,
decode_window_system_frame (frame);
if (NILP (timeout))
- timeout = make_fixnum (5);
- else
- CHECK_FIXNAT (timeout);
+ timeout = Vx_show_tooltip_timeout;
+ CHECK_FIXNAT (timeout);
if (NILP (dx))
dx = make_fixnum (5);