From 740afd6ac7ddc8e25d7cad95d09f90ac44e5e110 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Thu, 8 Oct 2015 20:42:37 +0200 Subject: [PATCH] Fix the workaround condition See #36 --- eyebrowse.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eyebrowse.el b/eyebrowse.el index 0d5c237..eb8f7a7 100644 --- a/eyebrowse.el +++ b/eyebrowse.el @@ -260,7 +260,7 @@ This function keeps the sortedness intact." (-when-let (match (assq slot (eyebrowse--get 'window-configs))) ;; KLUDGE: workaround for #36 ;; see also http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20848 - (when (version<= emacs-version "24.5.1") + (when (version< emacs-version "25") (delete-other-windows) (set-window-dedicated-p nil nil)) (window-state-put (cadr match) (frame-root-window))))