diff options
| author | Po Lu | 2023-03-16 18:34:53 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-16 18:34:53 +0800 |
| commit | 584eeb24ebe4603fdb0d6dec494ae95ebc128195 (patch) | |
| tree | ae7c009c903306043b9c6b77bbc5034f435c852a | |
| parent | 34e9f7a0eea77ecca3feb1e3f825bb0b5d10c232 (diff) | |
| download | emacs-584eeb24ebe4603fdb0d6dec494ae95ebc128195.tar.gz emacs-584eeb24ebe4603fdb0d6dec494ae95ebc128195.zip | |
Update Android port
* lisp/frame.el (android-detect-mouse):
* lisp/term/android-win.el (android-get-connection): Add
function declarations.
| -rw-r--r-- | lisp/frame.el | 1 | ||||
| -rw-r--r-- | lisp/term/android-win.el | 2 |
2 files changed, 3 insertions, 0 deletions
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." | |||
| 2124 | ;; or in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35058#17. | 2124 | ;; or in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=35058#17. |
| 2125 | 2125 | ||
| 2126 | (declare-function msdos-mouse-p "dosfns.c") | 2126 | (declare-function msdos-mouse-p "dosfns.c") |
| 2127 | (declare-function android-detect-mouse "androidfns.c") | ||
| 2127 | 2128 | ||
| 2128 | (defun display-mouse-p (&optional display) | 2129 | (defun display-mouse-p (&optional display) |
| 2129 | "Return non-nil if DISPLAY has a mouse available. | 2130 | "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 @@ | |||
| 41 | 41 | ||
| 42 | (add-to-list 'display-format-alist '(".*" . android)) | 42 | (add-to-list 'display-format-alist '(".*" . android)) |
| 43 | 43 | ||
| 44 | (declare-function android-get-connection "androidfns.c") | ||
| 45 | |||
| 44 | ;; Window system initialization. This is extremely simple because all | 46 | ;; Window system initialization. This is extremely simple because all |
| 45 | ;; initialization is done in android_term_init. | 47 | ;; initialization is done in android_term_init. |
| 46 | 48 | ||