From 584eeb24ebe4603fdb0d6dec494ae95ebc128195 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 16 Mar 2023 18:34:53 +0800 Subject: [PATCH] Update Android port * lisp/frame.el (android-detect-mouse): * lisp/term/android-win.el (android-get-connection): Add function declarations. --- lisp/frame.el | 1 + lisp/term/android-win.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/lisp/frame.el b/lisp/frame.el index a614d600fd0..b62074d6263 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -2124,6 +2124,7 @@ for FRAME." ;; or in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35058#17. (declare-function msdos-mouse-p "dosfns.c") +(declare-function android-detect-mouse "androidfns.c") (defun display-mouse-p (&optional display) "Return non-nil if DISPLAY has a mouse available. diff --git a/lisp/term/android-win.el b/lisp/term/android-win.el index fc393681ac4..c7610ae2ca3 100644 --- a/lisp/term/android-win.el +++ b/lisp/term/android-win.el @@ -41,6 +41,8 @@ (add-to-list 'display-format-alist '(".*" . android)) +(declare-function android-get-connection "androidfns.c") + ;; Window system initialization. This is extremely simple because all ;; initialization is done in android_term_init. -- 2.39.2