From 95084cec09190d7263ce61d30387c08e7d365ad3 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 19 Jan 2022 13:12:18 +0800 Subject: Rename system tooltip variables to `use-system-tooltips' * doc/emacs/frames.texi (Tooltips): * doc/emacs/haiku.texi (Haiku Basics): * doc/lispref/display.texi (Tooltips): Document `use-system-tooltips' instead. * etc/NEWS: Announce new option. * lisp/cus-start.el (standard): Add new option. * lisp/term/haiku-win.el (haiku-use-system-tooltips): * lisp/term/pgtk-win.el (x-gtk-use-system-tooltips): * lisp/term/x-win.el (x-gtk-use-system-tooltips): Add aliases for old options. * src/frame.c (syms_of_frame): New variable `use-system-tooltips'. * src/haikufns.c (Fx_show_tip): (syms_of_haikufns): * src/pgtkfns.c (x_hide_tip): (Fx_show_tip): (syms_of_pgtkfns): * src/xfns.c (x_hide_tip): (Fx_show_tip): (syms_of_xfns): Use `use-system-tooltips' instead of the old platform dependent options. --- doc/emacs/frames.texi | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'doc/emacs/frames.texi') diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index c641b8ccb14..29edbe98633 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi @@ -1633,13 +1633,14 @@ Parameters,,, elisp, The Emacs Lisp Reference Manual}, and also For additional customization options for displaying tooltips, use @kbd{M-x customize-group @key{RET} tooltip @key{RET}}. -@vindex x-gtk-use-system-tooltips - If Emacs is built with GTK+ support, it displays tooltips via GTK+, -using the default appearance of GTK+ tooltips. To disable this, -change the variable @code{x-gtk-use-system-tooltips} to @code{nil}. -If you do this, or if Emacs is built without GTK+ support, most -attributes of the tooltip text are specified by the @code{tooltip} -face, and by X resources (@pxref{X Resources}). +@vindex use-system-tooltips + If Emacs is built with the GTK+ toolkit or Haiku windowing support, +it displays tooltips via the toolkit, using the default appearance of +the toolkit's tooltips. To disable this, change the variable +@code{use-system-tooltips} to @code{nil}. If you do this, or if Emacs +is built without GTK+ or Haiku windowing support, most attributes of +the tooltip text are specified by the @code{tooltip} face, and by X +resources (@pxref{X Resources}). @dfn{GUD tooltips} are special tooltips that show the values of variables when debugging a program with GUD@. @xref{Debugger -- cgit v1.2.3