summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-04-30 18:20:19 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-04-30 18:20:19 +0200
commit52e6352b8150519a2a0b7bee2deaa86953f861ad (patch)
treecf515b1dd7826239bd2f051f8e6000959a2dc5d6 /src/dispnew.c
parent90904f8ce43d69f2142deb7918e1462001cca922 (diff)
downloademacs-52e6352b8150519a2a0b7bee2deaa86953f861ad.tar.gz
emacs-52e6352b8150519a2a0b7bee2deaa86953f861ad.tar.bz2
emacs-52e6352b8150519a2a0b7bee2deaa86953f861ad.zip
Fix compilation after recent x-show-tooltip-timeout changes
* src/dispnew.c (syms_of_display): Move x-show-tooltip-timeout to a common file to avoid breaking other systems.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 2aba0edfe8f..1dd64be4ead 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6721,6 +6721,10 @@ See `buffer-display-table' for more information. */);
beginning of the next redisplay). */
redisplay_dont_pause = true;
+ 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);
+
DEFVAR_LISP ("tab-bar-position", Vtab_bar_position,
doc: /* Specify on which side from the tool bar the tab bar shall be.
Possible values are t (below the tool bar), nil (above the tool bar).