From 10eb27eddcfdea1ec27382ea74625af867ceca61 Mon Sep 17 00:00:00 2001 From: Chris Feng Date: Fri, 23 Mar 2018 23:55:28 +0800 Subject: [PATCH] Fix local simulation keys * exwm-input.el (exwm-input--on-KeyPress-line-mode): Do not test `exwm-mode-map' to see if a key should be forwarded to Emacs as it's overridden when local simulation keys are present. --- exwm-input.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exwm-input.el b/exwm-input.el index 5043077..dae0153 100644 --- a/exwm-input.el +++ b/exwm-input.el @@ -567,7 +567,7 @@ instead." ;; (memq event exwm-input--global-prefix-keys) (memq event exwm-input-prefix-keys) - (lookup-key exwm-mode-map (vector event)) + (lookup-key (current-local-map) (vector event)) (gethash event exwm-input--simulation-keys))) (setq mode xcb:Allow:AsyncKeyboard) (exwm-input--cache-event event))