branch: master
commit 3a06c9952a8e33db11f00cce67661a6c9951e16c
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ace-window.el (aw--doit): fix conflict with helm
* ace-window.el (aw--doit): Need to remove `helm--maybe-update-keymap'
from `post-command-hook'. Otherwise, even if not in the helm
minibuffer, the helm transient map will override all bindings.
Fixes #15.
---
ace-window.el | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 2e6cb57..4b796b3 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -217,6 +217,8 @@ Set mode line to MODE-LINE during the selection process."
ace-jump-search-tree aw-keys)
(setq ace-jump-mode mode-line)
(force-mode-line-update)
+ ;; turn off helm transient map
+ (remove-hook 'post-command-hook 'helm--maybe-update-keymap)
;; override the local key map
(let ((map (make-keymap)))
(dolist (key-code aw-keys)