Function: window-layout-flip-leftright

window-layout-flip-leftright is an autoloaded, interactive and byte-compiled function defined in window-x.el.gz.

Signature

(window-layout-flip-leftright &optional WINDOW)

Documentation

Horizontally flip windows under WINDOW.

Flip the window layout so that the window on the right becomes the window on the left, and vice-versa.

If WINDOW is nil, it defaults to the root window of the selected frame.

Interactively, a prefix argument says to flip the parent window of the selected window.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/window-x.el.gz
;;;###autoload
(defun window-layout-flip-leftright (&optional window)
  "Horizontally flip windows under WINDOW.

Flip the window layout so that the window on the right becomes the
window on the left, and vice-versa.

If WINDOW is nil, it defaults to the root window of the selected frame.

Interactively, a prefix argument says to flip the parent window of the
selected window."
  (interactive (list (window--rotate-interactive-arg)))
  (window--transpose window '(below . left) t))