mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
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.
This commit is contained in:
parent
dc744fe6f3
commit
d8a0087930
5 changed files with 10 additions and 5 deletions
|
|
@ -298,12 +298,9 @@
|
|||
(if (featurep 'dynamic-setting)
|
||||
(load "dynamic-setting"))
|
||||
|
||||
;; touch-screen.el is tiny and is used liberally throughout the button
|
||||
;; code etc, so it may as well be preloaded everywhere.
|
||||
(load "touch-screen")
|
||||
|
||||
(if (featurep 'x)
|
||||
(progn
|
||||
(load "touch-screen")
|
||||
(load "x-dnd")
|
||||
(load "term/common-win")
|
||||
(load "term/x-win")))
|
||||
|
|
@ -316,6 +313,7 @@
|
|||
(if (featurep 'android)
|
||||
(progn
|
||||
(load "ls-lisp")
|
||||
(load "touch-screen")
|
||||
(load "term/common-win")
|
||||
(load "term/android-win")))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue