emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/exwm 10eb27e 3/4: Fix local simulation keys


From: Chris Feng
Subject: [elpa] externals/exwm 10eb27e 3/4: Fix local simulation keys
Date: Fri, 23 Mar 2018 11:58:39 -0400 (EDT)

branch: externals/exwm
commit 10eb27eddcfdea1ec27382ea74625af867ceca61
Author: Chris Feng <address@hidden>
Commit: Chris Feng <address@hidden>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]