Depend on Emacs 27.1

Emacs 27.1 is widely available on all major Linux distributions, including the
ones with long time support.
This commit is contained in:
Daniel Mendler 2024-01-09 19:38:01 +01:00
parent 4a3feec76f
commit 96a9de8c19
2 changed files with 5 additions and 15 deletions

View file

@ -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)))))))
(append unread-command-events `((t . ,event)))))
(defun exwm-input--mimic-read-event (event)
"Process EVENT as if it were returned by `read-event'."

View file

@ -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