\f
* Lisp Changes in Emacs 29.1
+---
+** 'x-show-tip' no longer hard-codes a timeout default.
+The new 'x-show-tooltip-timeout' variable allows the user to alter
+this for packages that don't use 'tooltip-show', but instead calls the
+lower level function directly.
+
+++
** New function 'window-max-characters-per-line'.
change the tooltip's appearance.
Automatically hide the tooltip after TIMEOUT seconds. TIMEOUT nil
-means use the default timeout of 5 seconds.
+means use the default timeout from the `x-show-tooltip-timeout'.
If the list of frame parameters PARMS contains a `left' parameter,
display the tooltip at that x-position. If the list of frame parameters
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);
}
#endif
+ DEFVAR_LISP ("x-show-tooltip-timeout", Vx_show_tooltip_timeout,
+ doc: /* The default timeout (in seconds) for `x-show-tip'. */);
+ Vx_show_tooltip_timeout = make_fixnum (5);
+
/* X window properties. */
defsubr (&Sx_change_window_property);
defsubr (&Sx_delete_window_property);