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.
old-master
Oleh Krehel 11 years ago
parent 22ebc3a34f
commit 3a06c9952a
  1. 2
      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)

Loading…
Cancel
Save