emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why is touch-screen.el preloaded?


From: Eli Zaretskii
Subject: Why is touch-screen.el preloaded?
Date: Sat, 25 Nov 2023 14:25:41 +0200

I thought this library is only relevant to touch-screen devices, but I
see that we are preloading it unconditionally.  Why?

The comment in loadup.el says:

  ;; touch-screen.el is tiny and is used liberally throughout the button
  ;; code etc, so it may as well be preloaded everywhere.

But touch-screen.el is not "tiny": it's more than 2K lines.

Can we please avoid preloading it, except when the build supports
touch-screen devices?

TIA



reply via email to

[Prev in Thread] Current Thread [Next in Thread]