branch: master
commit 50fafc5506c974a6f593649a2ae68d206fd2dced
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ace-window.el (aw--doit): don't show anything in echo area
---
 ace-window.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index 6160065..77aa5d6 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -120,6 +120,7 @@ This hook is set to nil with each call to `ace-window'.")
    (ace-jump-list-visual-area)))
 
 (defun aw--done ()
+  "Clean up ace-jump overlays."
   (setq ace-jump-query-char nil)
   (setq ace-jump-current-mode nil)
 
@@ -224,7 +225,7 @@ Set mode line to MODE-LINE during the selection process."
               (let (char node)
                 (catch 'done
                   (while t
-                    (setq char (read-char mode-line))
+                    (setq char (read-char))
                     (setq node (nth (or (cl-position char aw-keys) (length 
aw-keys))
                                     (cdr ace-jump-search-tree)))
                     (cond ((null node)

Reply via email to