summaryrefslogtreecommitdiff
path: root/lisp/term/pgtk-win.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-19 13:12:18 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-19 13:12:18 +0800
commit95084cec09190d7263ce61d30387c08e7d365ad3 (patch)
tree0f3f75778df132c9a91cb804d861908f84f95ed7 /lisp/term/pgtk-win.el
parent90dda33108dc505f66d79c6422cf69456c5b7fa0 (diff)
downloademacs-95084cec09190d7263ce61d30387c08e7d365ad3.tar.gz
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.
Diffstat (limited to 'lisp/term/pgtk-win.el')
-rw-r--r--lisp/term/pgtk-win.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term/pgtk-win.el b/lisp/term/pgtk-win.el
index 9bcf3eac646..25f3a851dcc 100644
--- a/lisp/term/pgtk-win.el
+++ b/lisp/term/pgtk-win.el
@@ -510,6 +510,8 @@ This uses `icon-map-list' to map icon file names to stock icon names."
(t
(popup-menu (mouse-menu-bar-map) last-nonmenu-event))))
+(defvaralias 'x-gtk-use-system-tooltips 'use-system-tooltips)
+
(provide 'pgtk-win)
(provide 'term/pgtk-win)