diff options
| author | Po Lu | 2023-12-06 10:34:41 +0800 |
|---|---|---|
| committer | Po Lu | 2023-12-06 10:34:41 +0800 |
| commit | d8a00879309a3bf62f6ffcae103aa3bdba776ee9 (patch) | |
| tree | aca5c7620d0700cc0fc5fdcc9e18ce388ba2c03f /lisp/term.el | |
| parent | dc744fe6f3cd185bd9d29f61b08cd4c524e3969e (diff) | |
| download | emacs-d8a00879309a3bf62f6ffcae103aa3bdba776ee9.tar.gz emacs-d8a00879309a3bf62f6ffcae103aa3bdba776ee9.zip | |
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.el | 2 |
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." | |||
| 1085 | (setq term-ansi-current-invisible nil) | 1085 | (setq term-ansi-current-invisible nil) |
| 1086 | (setq term-ansi-current-bg-color 0)) | 1086 | (setq term-ansi-current-bg-color 0)) |
| 1087 | 1087 | ||
| 1088 | (defvar touch-screen-display-keyboard) | ||
| 1089 | |||
| 1088 | (define-derived-mode term-mode fundamental-mode "Term" | 1090 | (define-derived-mode term-mode fundamental-mode "Term" |
| 1089 | "Major mode for interacting with an inferior interpreter. | 1091 | "Major mode for interacting with an inferior interpreter. |
| 1090 | The interpreter name is same as buffer name, sans the asterisks. | 1092 | The interpreter name is same as buffer name, sans the asterisks. |