Variable: windmove-wrap-around
windmove-wrap-around is a customizable variable defined in
windmove.el.gz.
Value
nil
Documentation
Whether movement off the edge of the frame wraps around.
If this variable is set to t, moving left from the leftmost window in a frame will find the rightmost one, and similarly for the other directions. The minibuffer is skipped over in up/down movements if it is inactive.
Source Code
;; Defined in /usr/src/emacs/lisp/windmove.el.gz
(defcustom windmove-wrap-around nil
"Whether movement off the edge of the frame wraps around.
If this variable is set to t, moving left from the leftmost window in
a frame will find the rightmost one, and similarly for the other
directions. The minibuffer is skipped over in up/down movements if it
is inactive."
:type 'boolean)