emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 0ea0aa255c: Fix Vx_show_tooltip_timeout in ns build, too


From: Lars Ingebrigtsen
Subject: master 0ea0aa255c: Fix Vx_show_tooltip_timeout in ns build, too
Date: Sat, 30 Apr 2022 12:22:03 -0400 (EDT)

branch: master
commit 0ea0aa255c94fd58884fec222ed3b2f69dd0cd5c
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 cff31f7fe0..00d4a7d2bd 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]