From b86b4090d6ce294c9862273b40e52c19f1470255 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Mon, 31 Mar 2014 12:53:21 +0200 Subject: [PATCH] Make gT always wrap around --- eyebrowse.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eyebrowse.el b/eyebrowse.el index 898649c..188b0d1 100644 --- a/eyebrowse.el +++ b/eyebrowse.el @@ -4,7 +4,7 @@ ;; Author: Vasilij Schneidermann ;; URL: https://github.com/wasamasa/eyebrowse -;; Version: 0.2 +;; Version: 0.2.1 ;; Package-Requires: ((dash "2.4.0") (s "1.4.0") (emacs "24")) ;; Keywords: convenience @@ -273,7 +273,10 @@ switch COUNT window configs backwards and always wrap around." (let* ((match (assq eyebrowse-current-slot eyebrowse-window-configs)) (index (-elem-index match eyebrowse-window-configs))) (if count - (eyebrowse-prev-window-config (when (> count 1) (eyebrowse-prev-window-config (1- count)))) + (let ((eyebrowse-wrap-around-p t)) + (eyebrowse-prev-window-config + (when (> count 1) + (eyebrowse-prev-window-config (1- count))))) (when index (if (> index 0) (eyebrowse-switch-to-window-config