; Fix documentation about faces of tool-tip text

* lisp/tooltip.el (tooltip):
* src/frame.c (syms_of_frame) <use-system-tooltips>: Doc fixes.
This commit is contained in:
Eli Zaretskii 2025-01-18 15:07:52 +02:00
parent 853719c4c2
commit 04c475a39f
2 changed files with 7 additions and 7 deletions

View file

@ -135,8 +135,8 @@ of the `tooltip' face are used instead."
:inherit variable-pitch))
"Face for tooltips.
When using the GTK toolkit, this face will only be used if
`x-gtk-use-system-tooltips' is non-nil."
When using the GTK toolkit, NS, or Haiku, this face will only
be used if `use-system-tooltips' is nil."
:group 'tooltip
:group 'basic-faces)

View file

@ -6795,11 +6795,11 @@ Gtk+ tooltips are not used) and on Windows. */);
tooltip_reuse_hidden_frame = false;
DEFVAR_BOOL ("use-system-tooltips", use_system_tooltips,
doc: /* Use the toolkit to display tooltips.
This option is only meaningful when Emacs is built with GTK+ or Haiku
windowing support, and results in tooltips that look like those
displayed by other GTK+ or Haiku programs, but will not be able to
display text properties inside tooltip text. */);
doc: /* Whether to use the toolkit to display tooltips.
This option is only meaningful when Emacs is built with GTK+, NS or Haiku
windowing support, and, if it's non-nil (the default), it results in
tooltips that look like those displayed by other GTK+/NS/Haiku programs,
but will not be able to display text properties inside tooltip text. */);
use_system_tooltips = true;
DEFVAR_LISP ("iconify-child-frame", iconify_child_frame,