[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 42f4b7736f 3/3: Fix window-rotate upwards with 1 wind
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 42f4b7736f 3/3: Fix window-rotate upwards with 1 window |
Date: |
Mon, 29 May 2023 19:01:03 -0400 (EDT) |
branch: elpa/evil
commit 42f4b7736f5746fd5d072139280997985ea42269
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <tom_dl@hotmail.com>
Fix window-rotate upwards with 1 window
---
evil-commands.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/evil-commands.el b/evil-commands.el
index 0e9a4183bf..6ad0073479 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -4672,7 +4672,7 @@ If ARG is empty, maximize the current window height."
(window-state-put (car slist) (car wlist))
(setq wlist (cdr wlist)
slist (cdr slist)))
- (select-window (cadr (last (window-list)))))))
+ (select-window (car (window-list))))))
(evil-define-command evil-window-rotate-downwards ()
"Rotate the windows according to the current cyclic ordering."