mirror of
https://github.com/emacs-exwm/exwm.git
synced 2024-11-23 13:07:59 +01:00
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:
parent
4a3feec76f
commit
96a9de8c19
2 changed files with 5 additions and 15 deletions
|
@ -587,20 +587,10 @@ instead."
|
||||||
(when (called-interactively-p 'any)
|
(when (called-interactively-p 'any)
|
||||||
(exwm-input--update-global-prefix-keys)))
|
(exwm-input--update-global-prefix-keys)))
|
||||||
|
|
||||||
;; Putting (t . EVENT) into `unread-command-events' does not really work
|
(defsubst exwm-input--unread-event (event)
|
||||||
;; as documented for Emacs < 26.2.
|
(declare (indent defun))
|
||||||
(eval-and-compile
|
(setq unread-command-events
|
||||||
(if (or (< emacs-major-version 26)
|
(append unread-command-events `((t . ,event)))))
|
||||||
(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)))))))
|
|
||||||
|
|
||||||
(defun exwm-input--mimic-read-event (event)
|
(defun exwm-input--mimic-read-event (event)
|
||||||
"Process EVENT as if it were returned by `read-event'."
|
"Process EVENT as if it were returned by `read-event'."
|
||||||
|
|
2
exwm.el
2
exwm.el
|
@ -5,7 +5,7 @@
|
||||||
;; Author: Chris Feng <chris.w.feng@gmail.com>
|
;; 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>
|
;; Maintainer: Adrián Medraño Calvo <adrian@medranocalvo.com>, Steven Allen <steven@stebalien.com>, Daniel Mendler <mail@daniel-mendler.de>
|
||||||
;; Version: 0.28
|
;; Version: 0.28
|
||||||
;; Package-Requires: ((emacs "26.1") (xelb "0.18"))
|
;; Package-Requires: ((emacs "27.1") (xelb "0.18"))
|
||||||
;; Keywords: unix
|
;; Keywords: unix
|
||||||
;; URL: https://github.com/emacs-exwm/exwm
|
;; URL: https://github.com/emacs-exwm/exwm
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue