diff options
author | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-09T18·38+0100 |
---|---|---|
committer | Daniel Mendler <mail@daniel-mendler.de> | 2024-01-13T19·23+0100 |
commit | 96a9de8c19bdf4f6ef4a05a2be81f5f4cacc6b95 (patch) | |
tree | 96e78a1f4c8790c9360fcc9672cb5a54be1ac63d | |
parent | 4a3feec76f94a2688e885e4742b600a76b6fa8af (diff) |
Depend on Emacs 27.1
Emacs 27.1 is widely available on all major Linux distributions, including the ones with long time support.
-rw-r--r-- | exwm-input.el | 18 | ||||
-rw-r--r-- | exwm.el | 2 |
2 files changed, 5 insertions, 15 deletions
diff --git a/exwm-input.el b/exwm-input.el index 5767f139782d..b4d6d28b213b 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -587,20 +587,10 @@ instead." (when (called-interactively-p 'any) (exwm-input--update-global-prefix-keys))) -;; Putting (t . EVENT) into `unread-command-events' does not really work -;; as documented for Emacs < 26.2. -(eval-and-compile - (if (or (< emacs-major-version 26) - (and (= emacs-major-version 26) - (< emacs-minor-version 2))) - (defsubst exwm-input--unread-event (event) - (declare (indent defun)) - (setq unread-command-events - (append unread-command-events (list event)))) - (defsubst exwm-input--unread-event (event) - (declare (indent defun)) - (setq unread-command-events - (append unread-command-events `((t . ,event))))))) +(defsubst exwm-input--unread-event (event) + (declare (indent defun)) + (setq unread-command-events + (append unread-command-events `((t . ,event))))) (defun exwm-input--mimic-read-event (event) "Process EVENT as if it were returned by `read-event'." diff --git a/exwm.el b/exwm.el index 319168a91cfc..92591d4c2088 100644 --- a/exwm.el +++ b/exwm.el @@ -5,7 +5,7 @@ ;; Author: Chris Feng <chris.w.feng@gmail.com> ;; Maintainer: Adrián Medraño Calvo <adrian@medranocalvo.com>, Steven Allen <steven@stebalien.com>, Daniel Mendler <mail@daniel-mendler.de> ;; Version: 0.28 -;; Package-Requires: ((emacs "26.1") (xelb "0.18")) +;; Package-Requires: ((emacs "27.1") (xelb "0.18")) ;; Keywords: unix ;; URL: https://github.com/emacs-exwm/exwm |