Function: windmove-up

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

Signature

(windmove-up &optional ARG)

Documentation

Select the window above the current one.

With no prefix argument, or with prefix argument equal to zero, "up" is relative to the position of point in the window; otherwise it is relative to the left edge (for positive ARG) or the right 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-up (&optional arg)
  "Select the window above the current one.
With no prefix argument, or with prefix argument equal to zero, \"up\"
is relative to the position of point in the window; otherwise it is
relative to the left edge (for positive ARG) or the right 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 'up (and arg (prefix-numeric-value arg))))