branch: elpa/evil commit 42f4b7736f5746fd5d072139280997985ea42269 Author: Tom Dalziel <tom...@hotmail.com> Commit: Tom Dalziel <tom...@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."