diff options
author | Chris Feng <chris.w.feng@gmail.com> | 2018-02-25T16·23+0800 |
---|---|---|
committer | Chris Feng <chris.w.feng@gmail.com> | 2018-02-25T16·23+0800 |
commit | a6cfe3f22d4dff076e3e5da6676c411a52d6590e (patch) | |
tree | 3a25037a465274e31d3fd6c4717af21710edb6e4 /exwm-core.el | |
parent | 7cef4320cca8aeba5c4c6df37842bd73f16996d9 (diff) |
Forward keys defined in `exwm-mode-map' to Emacs by default
* exwm-input.el (exwm-input-prefix-keys): Remove ?\C-c. (exwm-input--on-KeyPress-line-mode): * exwm-core.el (): Detect keys in `exwm-mode-map' in line-mode.
Diffstat (limited to 'exwm-core.el')
-rw-r--r-- | exwm-core.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exwm-core.el b/exwm-core.el index 41c3b5772495..649ef0420b53 100644 --- a/exwm-core.el +++ b/exwm-core.el @@ -189,6 +189,7 @@ least SECS seconds later." (active-minibuffer-window) (memq last-input-event exwm-input--global-prefix-keys) (memq last-input-event exwm-input-prefix-keys) + (assq last-input-event (cdr exwm-mode-map)) (gethash last-input-event exwm-input--simulation-keys)) (set-transient-map (make-composed-keymap (list exwm-mode-map global-map))) |