From: Lars Ingebrigtsen Date: Sat, 30 Apr 2022 16:21:51 +0000 (+0200) Subject: Fix Vx_show_tooltip_timeout in ns build, too X-Git-Tag: emacs-29.0.90~1931^2~180 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ea0aa255c94fd58884fec222ed3b2f69dd0cd5c;p=emacs.git Fix Vx_show_tooltip_timeout in ns build, too * src/nsfns.m (Fx_show_tip): Respect Vx_show_tooltip_timeout here, too. --- 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);