]> git.eshelyaron.com Git - emacs.git/commitdiff
Document recent tooltip changes on NS
authorPo Lu <luangruo@yahoo.com>
Mon, 16 May 2022 09:28:36 +0000 (17:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 16 May 2022 09:29:50 +0000 (17:29 +0800)
* doc/emacs/frames.texi (Tooltips):
* etc/NEWS: Announce that non-system tooltips are now available
on Nextstep.

doc/emacs/frames.texi
etc/NEWS

index 7c564a877631b6e587eee4b4683a20e042321d2f..0008112b8c8fecd3e9a2fc560c05e99e3e9653a8 100644 (file)
@@ -1651,11 +1651,15 @@ For additional customization options for displaying tooltips, use
 @kbd{M-x customize-group @key{RET} tooltip @key{RET}}.
 
 @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
+  If Emacs is built with the GTK+ toolkit, Nextstep windowing, or
+Haiku windowing support, it displays tooltips via the toolkit, using
+the default appearance of the toolkit's tooltips.@footnote{The
+foreground and background colors of toolkit-created tooltips on
+Nextstep can also be customized by setting the @code{foreground} and
+@code{background} frame parameters inside
+@code{tooltip-frame-parameters}} 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
+is built without the appropriate windowing support, most attributes of
 the tooltip text are specified by the @code{tooltip} face, and by X
 resources (@pxref{X Resources}).
 
index c53b896edd24883c644924489b9367f3790f3dd1..c0874dcd11551f8caffe1a73f3b4b039741d1edb 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -391,10 +391,16 @@ instead of XIM input methods.
 ** New user option 'use-system-tooltips'.
 This controls whether to use the toolkit tooltips, or Emacs's own
 native implementation of tooltips as small frames.  This option is
-only meaningful if Emacs was built with GTK+ or Haiku support, and
-defaults to t, which makes Emacs use the toolkit tooltips.  The
-existing GTK-specific option 'x-gtk-use-system-tooltips' is now an
-alias of this new option.
+only meaningful if Emacs was built with GTK+, Nextstep, or Haiku
+support, and defaults to t, which makes Emacs use the toolkit
+tooltips.  The existing GTK-specific option
+'x-gtk-use-system-tooltips' is now an alias of this new option.
+
++++
+** Non-native tooltips are now supported on Nextstep.
+This means Emacs built with GNUstep or built on macOS is now able to
+display different faces and images inside tooltips when the
+'use-system-tooltips' variable is nil.
 
 ** Connection-local variables