Function: windmove-left

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

Signature

(windmove-left &optional ARG IS-INTERACTIVE)

Documentation

Select the window to the left of the current one.

With no prefix argument, or with prefix argument equal to zero,
"left" 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
;;; End-user functions
;; These are all simple interactive wrappers to
;; `windmove-do-window-select', meant to be bound to keys.

;;;###autoload
(defun windmove-left (&optional arg is-interactive)
  "Select the window to the left of the current one.
With no prefix argument, or with prefix argument equal to zero,
\"left\" 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
   'left (and arg (prefix-numeric-value arg)) nil
   (and is-interactive this-command)))