Skip to content

Commit

Permalink
Fix switch-window-list to return correctly ordered list in text-only …
Browse files Browse the repository at this point in the history
…frame
  • Loading branch information
iRi-E authored and dimitri committed Sep 25, 2010
1 parent 9d761bf commit 1c6b768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion switch-window.el
Expand Up @@ -80,7 +80,7 @@
from-current-window is not nil"
(if (or from-current-window switch-window-relative)
(window-list nil nil)
(window-list nil nil (window-at 0 0))))
(window-list nil nil (frame-first-window))))

(defun switch-window-display-number (win num)
"prepare a temp buffer to diplay in the window while choosing"
Expand Down

0 comments on commit 1c6b768

Please sign in to comment.