Function: windmove-right

windmove-right is an autoloaded, interactive and byte-compiled function defined in windmove.el.gz.

Signature

(windmove-right &optional ARG)

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.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/windmove.el.gz
;;;###autoload
(defun windmove-right (&optional arg)
  "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."
  (interactive "P")
  (windmove-do-window-select 'right (and arg (prefix-numeric-value arg))))