Handle buffer move/select/swap to last win nr +1 in all frames

This commit is contained in:
duianto 2020-11-19 12:36:07 +01:00
parent 28a4baeea4
commit 8128774090
1 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ Dedicated (locked) windows are left untouched."
"Moves a buffer to a window, using the spacemacs numbering. follow-focus-p
controls whether focus moves to new window (with buffer), or stays on current"
(interactive)
(if (> windownum (length (window-list)))
(if (> windownum (length (window-list-1 nil nil t)))
(message "No window numbered %s" windownum)
(let ((b (current-buffer))
(w1 (selected-window))
@ -278,7 +278,7 @@ controls whether focus moves to new window (with buffer), or stays on current"
follow-focus-p controls whether focus moves to new window (with buffer), or
stays on current"
(interactive)
(if (> windownum (length (window-list)))
(if (> windownum (length (window-list-1 nil nil t)))
(message "No window numbered %s" windownum)
(let* ((b1 (current-buffer))
(w1 (selected-window))