emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master a22acac 1/2: Minor fixes


From: Oleh Krehel
Subject: [elpa] master a22acac 1/2: Minor fixes
Date: Sun, 22 Mar 2015 16:34:02 +0000

branch: master
commit a22acac260a93530f98b1fe84b4b5edc2a6bdc0e
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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

[Prev in Thread] Current Thread [Next in Thread]