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)
|
||||
(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'."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue