ace-window.el (aw-generic): switch to cl-position

old-master
Oleh Krehel 12 years ago
parent 4de62ee366
commit 8f2027814c
  1. 2
      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))))

Loading…
Cancel
Save