branch: master
commit 8f2027814cb5123d3d8db70d6fd9973742cd85a0
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ace-window.el (aw-generic): switch to cl-position
---
 ace-window.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index 7c89824..0f4458b 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -92,7 +92,7 @@ HANDLER is a function that takes a window argument."
          (interactive)
          (if w
              (,handler w)
-           (let* ((index (let ((ret (position (aref (this-command-keys) 0)
+           (let* ((index (let ((ret (cl-position (aref (this-command-keys) 0)
                                               aw-keys)))
                            (if ret ret (length aw-keys))))
                   (node (nth index (cdr ace-jump-search-tree))))

Reply via email to