From 8f2027814cb5123d3d8db70d6fd9973742cd85a0 Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Tue, 17 Jun 2014 10:40:52 +0200 Subject: [PATCH] ace-window.el (aw-generic): switch to cl-position --- ace-window.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))