From f786679f89ebba8764aefc646c81645dcc479621 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Tue, 14 Jul 2015 13:17:10 +0200 Subject: [PATCH] Allow non-printing keys like in avy Adapt so that the feature of https://github.com/abo-abo/avy/pull/77 can be used here, too. --- ace-window.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace-window.el b/ace-window.el index 15ed357..03803d4 100644 --- a/ace-window.el +++ b/ace-window.el @@ -200,9 +200,9 @@ LEAF is (PT . WND)." (concat (cl-case aw-leading-char-style (char - (apply #'string (last path))) + (string (avy--key-to-char (car (last path))))) (path - (apply #'string (reverse path))) + (mapconcat #'avy--key-to-char (reverse path) "")) (t (error "Bad `aw-leading-char-style': %S" aw-leading-char-style)))