summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-12-06 10:34:41 +0800
committerPo Lu <luangruo@yahoo.com>2023-12-06 10:34:41 +0800
commitd8a00879309a3bf62f6ffcae103aa3bdba776ee9 (patch)
treeaca5c7620d0700cc0fc5fdcc9e18ce388ba2c03f /lisp/term.el
parentdc744fe6f3cd185bd9d29f61b08cd4c524e3969e (diff)
downloademacs-d8a00879309a3bf62f6ffcae103aa3bdba776ee9.tar.gz
Cease preloading touch-screen.el outside X and Android
* lisp/calc/calc.el (touch-screen-display-keyboard): * lisp/minibuffer.el (clear-minibuffer-message): * lisp/term.el (touch-screen-display-keyboard): Declare touch-screen-display-keyboard before binding or setting it. * lisp/loadup.el: Don't autoload touch-screen.el outside X and Android. * lisp/touch-screen.el: Autoload functions called from commands responding to touch screen events.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/term.el b/lisp/term.el
index b2875e4a17f..81746e0c20d 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -1085,6 +1085,8 @@ underlying shell."
(setq term-ansi-current-invisible nil)
(setq term-ansi-current-bg-color 0))
+(defvar touch-screen-display-keyboard)
+
(define-derived-mode term-mode fundamental-mode "Term"
"Major mode for interacting with an inferior interpreter.
The interpreter name is same as buffer name, sans the asterisks.