summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-03-22 21:14:21 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-03-22 21:14:21 +0100
commitc8bde5b0a3c7ac6c1d71c404977f83e2b4e94092 (patch)
treef4cfb83a64d741c95334288de90233f4acc19bbe /lisp/mouse.el
parenta0e33850702e84ca747178b0eba0f43ef30c14fc (diff)
downloademacs-c8bde5b0a3c7ac6c1d71c404977f83e2b4e94092.tar.gz
emacs-c8bde5b0a3c7ac6c1d71c404977f83e2b4e94092.tar.bz2
emacs-c8bde5b0a3c7ac6c1d71c404977f83e2b4e94092.zip
Fix two no-X compilation warnings
* lisp/mouse.el (x-hide-tip, x-show-tip): Declare to avoid no-X build compilation warnings (bug#54524). * lisp/term/pgtk-win.el (window-system-initialization): Avoid no-X compilation warning.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 93c89de91c2..30b19510a46 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -2998,6 +2998,9 @@ Call `tooltip-show-help-non-mode' instead on non-graphical displays."
(x-show-tip tooltip)
(tooltip-show-help-non-mode tooltip)))
+(declare-function x-hide-tip "xfns.c")
+(declare-function x-show-tip "xfns.c")
+
(defun mouse-drag-and-drop-region-hide-tooltip ()
"Hide any tooltip currently displayed.
Call `tooltip-show-help-non-mode' to clear the echo area message