Function: windmove-right
windmove-right is an autoloaded, interactive and byte-compiled
function defined in windmove.el.gz.
Signature
(windmove-right &optional ARG IS-INTERACTIVE)
Documentation
Select the window to the right of the current one.
With no prefix argument, or with prefix argument equal to zero,
"right" is relative to the position of point in the window;
otherwise it is relative to the top edge (for positive ARG) or the
bottom edge (for negative ARG) of the current window.
If no window is at the desired location, an error is signaled
unless windmove-create-window is non-nil and a new window is created.
If windmove-allow-repeated-command-override is true and this command
stopped because it wouldn't move into a window marked with
no-other-window, repeating the command will move into that window.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/windmove.el.gz
;;;###autoload
(defun windmove-right (&optional arg is-interactive)
"Select the window to the right of the current one.
With no prefix argument, or with prefix argument equal to zero,
\"right\" is relative to the position of point in the window;
otherwise it is relative to the top edge (for positive ARG) or the
bottom edge (for negative ARG) of the current window.
If no window is at the desired location, an error is signaled
unless `windmove-create-window' is non-nil and a new window is created.
If `windmove-allow-repeated-command-override' is true and this command
stopped because it wouldn't move into a window marked with
`no-other-window', repeating the command will move into that window."
(interactive "P\np")
(windmove-do-window-select
'right (and arg (prefix-numeric-value arg)) nil
(and is-interactive this-command)))