From 0ea0aa255c94fd58884fec222ed3b2f69dd0cd5c Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 30 Apr 2022 18:21:51 +0200 Subject: [PATCH] Fix Vx_show_tooltip_timeout in ns build, too * src/nsfns.m (Fx_show_tip): Respect Vx_show_tooltip_timeout here, too. --- src/nsfns.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nsfns.m b/src/nsfns.m index cff31f7fe0e..00d4a7d2bd2 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -2862,9 +2862,8 @@ DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0, str = SSDATA (string); f = 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); -- 2.39.2