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

    Minor fixes
    
    * ace-window.el (ring): Require.
    (aw-select): Replace `caddr' with `nth'.
---
 ace-window.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ace-window.el b/ace-window.el
index 4b0a76f..5aa389d 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -57,6 +57,7 @@
 
 ;;; Code:
 (require 'avy)
+(require 'ring)
 
 ;;* Customization
 (defgroup ace-window nil
@@ -261,7 +262,7 @@ Amend MODE-LINE to the mode line for the duration of the 
selection."
                                      #'aw--remove-leading-chars))
                       start-window)
                 (error
-                 (if (memq (caddr err) aw--flip-keys)
+                 (if (memq (nth 2 err) aw--flip-keys)
                      (aw--pop-window)
                    (signal (car err) (cdr err)))))
            (aw--done)))))))

Reply via email to